The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#11
|
|||
|
|||
I don't know anything about that software. But if you figure out what ~ stands for (it's your user directory) then you might be able to use that. I suppose you could try
Code:
$chat_data_path = "~/TopCMM/123FlashChat9.6/server/data/default/"; but I can't remember offhand if you're allowed to use ~ with php functions or is it only works in shell commands. And even if it does work, I'm not sure the web server is running as that same user. |
#12
|
||||
|
||||
Yes tried that too, didn't work
--------------- Added [DATE]1365474629[/DATE] at [TIME]1365474629[/TIME] --------------- Ok. Got the plugin working right with below Code:
if (!defined('VB_AREA') OR VB_AREA != 'AdminCP') { if (is_array($navdata['tab_oda5_837'])) { $navdata['tab_oda5_837']['text'] .= '<script language="javascript" src="http://www.talkjesus.com:35555/online.js?group=default"></script> <script language="javascript"> document.write(""+ online.ln+""); </script>'; } } I want the number output floating right with a custom background color too while the word "chat" remains floating left. Thanks in advance |
#13
|
|||
|
|||
It's a quote matching problem. The whole thing is already a string inside single quotes. But what you could do is put the html outside the script tags, like:
Code:
$navdata['tab_oda5_837']['text'] .= '<script language="javascript" src="http://www.talkjesus.com:35555/online.js?group=default"></script> <span style="float:right"><script language="javascript"> document.write(""+ online.ln+""); </script></span>'; |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|