Bravo List
Register
Go Back   > Bravo List > Source Code > Archived Trackers > xBTiT
Reply
Thread Tools
  #1  
Old 1st August 2013, 17:04
NickOleg NickOleg is offline
Member
 
Join Date: Jul 2013
Brazil
Posts: 4
Lightbulb Clickable nickname in ajax-chat
Hi! how to make a clickable nickname in the standard ajax-chat? so that when you press on the nickname, in the form of messages inserted nickname...

Example:
Click the image to open in full size.
Reply With Quote
  #2  
Old 1st August 2013, 17:39
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
Give me your chat.php or shoutbox.php file
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #3  
Old 1st August 2013, 17:58
NickOleg NickOleg is offline
Member
 
Join Date: Jul 2013
Brazil
Posts: 4
Default
As the unit is installed clean ajax_shoutbox_block.php. The archive is the script of the chat.
I think I need a script like javascript: onclick. But how to do it, I don `t know. Version Xbtit 2.3
Attached Files
File Type: zip ajax-chat.zip (27.1 KB, 34 views)
Reply With Quote
  #4  
Old 1st August 2013, 18:27
firefly007's Avatar
firefly007 firefly007 is offline
SUPPORT GURU
 
Join Date: Jun 2010
P2P
Posts: 721
Default
PHP Code:


<script type="text/javascript">
function 
insertText(val,e){
document.getElementById(e).innerHTML+=val;
}
</script>
<textarea id="textIns"></textarea><br />
<a href="javascript:insertText('Hello ','textIns');" onClick="void(0)">Insert 'Hello'</a> 
__________________




Please Support Majority Report


You can contact me on Skype live:phesadent.elect but please let me know first.


If you are ever need me desperately then please email me at dan.oak44@gmail.com and I will contact u within a week.


Due to free time I'm able to help interested member's with their tracker.

Please Note!
Depending on your requests I will charge you for my assistance for Tracker installs and mods.
All my mods are custom and prices will very depending on the request.
I'm able to install any tracker and mods including themes.

Please PM me

Reply With Quote
  #5  
Old 2nd August 2013, 13:34
NickOleg NickOleg is offline
Member
 
Join Date: Jul 2013
Brazil
Posts: 4
Default
mm, thanks, the script itself is working) just could not get it to embed code in chat) does not work. Maybe someone is ready to use???)
Reply With Quote
  #6  
Old 2nd August 2013, 14:00
DiemThuy's Avatar
DiemThuy DiemThuy is offline
Senior Member
 
Join Date: Apr 2009
Netherlands
Posts: 36
Default
in ajaxchat/getChatData.php

replace

Code:
$name = $row[name];
for

Code:
$name="<a href='index.php?page=userdetails&id=".$uid."'>".$row["name"]."</a>";
Reply With Quote
The Following User Says Thank You to DiemThuy For This Useful Post:
BamBam0077 (2nd August 2013)
Reply

Tags
ajaxchat , clickable , nickname


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



All times are GMT +2. The time now is 14:04. vBulletin skin by ForumMonkeys. Powered by vBulletin® Version 3.8.11 Beta 3
Copyright ©2000 - 2024, vBulletin Solutions Inc.