The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Chatbox Lite Details »» | |||||||||||||||||||||||||
This is a very simple shoutbox.
For those of us who don't have the resources to spare for vBShout v2.0. [high]Installation[/high] Instructions in the zip. Show Your Support
|
Comments |
#42
|
||||
|
||||
did you run the query to create the table?
|
#43
|
||||
|
||||
No, it wasnt in the instructions.
Code:
First Step Import product-chatbox_lite.xml using the Product Manager. Second Step Upload chatbox_lite.php to your forum root directory (you can edit it first to change some options). Thirt Step Edit the navbar template, find +++++++++++++++++++++++++++++++++++++++++ //--> </script> +++++++++++++++++++++++++++++++++++++++++ before that, add +++++++++++++++++++++++++++++++++++++++++ function openChatboxLite () { chatbox = window.open('chatbox_lite.php','chatboxLite','height=330,width=650,directories=n o,location=no,menubar=no,resizable=no,status=no,toolbar=no,scrollbars=yes'); return false; } +++++++++++++++++++++++++++++++++++++++++ find +++++++++++++++++++++++++++++++++++++++++ <td class="vbmenu_control"><a href="calendar.php$session[sessionurl_q]">$vbphrase[calendar]</a></td> +++++++++++++++++++++++++++++++++++++++++ after that, add +++++++++++++++++++++++++++++++++++++++++ <td class="vbmenu_control"><a href="#" onclick="return openChatboxLite()">Chatbox</a></td> +++++++++++++++++++++++++++++++++++++++++ Edit the FORUMHOME template, find +++++++++++++++++++++++++++++++++++++++++ <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_stats')"><img id="collapseimg_forumhome_stats" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_stats].gif" alt="" border="0" /></a> <phrase 1="$vboptions[bbtitle]">$vbphrase[x_statistics]</phrase> </td> </tr> </tbody> +++++++++++++++++++++++++++++++++++++++++ before that, add +++++++++++++++++++++++++++++++++++++++++ <!-- Chatbox Lite --> <tbody> <tr> <td class="thead" colspan="2"> <a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('forumhome_chatboxlite')"><img id="collapseimg_forumhome_chatboxlite" src="$stylevar[imgdir_button]/collapse_thead$vbcollapse[collapseimg_forumhome_chatboxlite].gif" alt="" border="0" /></a> <a href="#" onclick="return openChatboxLite()">$vbphrase[chatboxlite_chatbox]</a> </td> </tr> </tbody> <tbody id="collapseobj_forumhome_chatboxlite" style="$vbcollapse[collapseobj_forumhome_chatboxlite]"> <tr> <td class="alt1" width="100%" colspan="2"><div class="smallfont" align="center"><iframe src="chatbox_lite.php?nofocus=1" width="100%" style="border: 0px"></iframe></div></td> </tr> </tbody> <!-- / Chatbox Lite --> +++++++++++++++++++++++++++++++++++++++++ You can change text or translate finding the phrases with "chatboxlite_" prefix. And it's done, enjoy :) |
#44
|
||||
|
||||
oh no the product xml should have created the table, did you import it?...
check your database for the table, if you dont have it run [sql]CREATE TABLE vb3_chatboxlite_shout ( `shoutid` INT( 10 ) NOT NULL AUTO_INCREMENT , `userid` INT( 10 ) NOT NULL , `username` VARCHAR( 100 ) NOT NULL , `shout` VARCHAR( 255 ) NOT NULL , `dateline` INT( 10 ) NOT NULL , `ipaddress` VARCHAR( 16 ) DEFAULT '0' NOT NULL , PRIMARY KEY ( `shoutid` ) );[/sql] the product manager should have run that though |
#45
|
|||
|
|||
Quote:
|
#46
|
||||
|
||||
Quote:
|
#47
|
||||
|
||||
Quote:
|
#48
|
|||
|
|||
Quote:
|
#49
|
||||
|
||||
Database error in vBulletin 3.5.0 Release Candidate 2:
Invalid SQL: SELECT count(shoutid) AS total FROM vb3_chatboxlite_shout; MySQL Error : Table 'humoristi_forum.vb3_chatboxlite_shout' doesn't exist Error Number : 1146 Date : Monday, September 12th 2005 @ 08:49:38 PM Script : http://humori.net/chatbox_lite.php Referrer : IP Address : *************** Username : [Elisi] Classname : vb_database any help why is it doing this ?? what do i have to change and how can i change it please? many thanks for the replies |
#50
|
||||
|
||||
run that query up there manually, im gonna check why the product xml isnt creating it later
|
#51
|
||||
|
||||
I checked this out.
Got a similar problem here as with the vB 3.5 shoutbox: colours. The button/text colours need looking at, though... I'm sure it looks OK on a lot of boards. Other than that it's looking pretty neat. If that gets fixed I may well install. |
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|