The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
VBJv | mEssenger v2.02 Details »» | |||||||||||||||||||||||||
Vbulletin Java Messenger v2: instant messenger for instant community. Hello everyone, first i would like to point this to the 2 year old Hack now this thread didn't have hardly any support, but after i waited for almost a year now for someone to port this over to the latest vb, i came accross it again a week ago and i said thats it its time for it to get ported, so i went to work going through all the scripts seeing whats needs to be changed What is this? this is a messenger for vbulletin that is in jave it uses the forum's user tables from your database to host the user system, so automaticly the users are signed up for the forum's messenger. What i have to change? templates - (1) To install: i have made the codes work where you upload the VBmessenger folder with in your forums folder, if you would like it else where you will have to edit a few lines which im not gonna go through right now. upload the folder VBmessenger to your forum root upload the php fiile marquee.php to the forum root as well test to see if it works, it should work, if not and it says give VB ID number then go to forum/vbmessenger/sources/vbulletin_3.xx_plugin.php and on line 15 you will see this Code:
$VAR["vbulletinlicenceid"] = ""; if you need help remembering or finding your vbulletin id code, then open up any vbulletin php file and at the top it gives you your id code How To's To edit the colours edit the css in the files in the Style folder. so files:
you must update this in the marquee.php which is located at this point in your forum root Code:
echo "<tr>\n"; echo "<td width=\"$marquee_width\" style=\"border-bottom: 1px inset #000000; background-color: #4C6CA4\" onMouseover=\"this.style.backgroundColor='#607DAE';\" onMouseOut=\"this.style.backgroundColor='#4C6CA4';\">\n"; echo "<font size=1 face=\"Verdana, Arial, sans-serif, Helvetica, Times\">\n"; echo "<b><a href=\"http://domain.com/showthread.php?s=&threadid=" . $latestthread['threadid'] . "\" target='_blank'>" . $latestthread['title'] . "</a></b><br>\n"; echo "Started by: <a href=\"http://domain.com/member.php?s=&action=getinfo&username=" . $latestthread['postusername'] . "\" target='_blank'>" . $latestthread['postusername'] . "</a><br>\n"; echo "Last Post by: <a href=\"http://domain.com/member.php?s=&action=getinfo&username=" . $latestthread['lastposter'] . "\" target='_blank'>" . $latestthread['lastposter'] . "</a><br>\n"; echo $numreplies; echo "\n</font>\n"; echo "</td>\n</tr>\n\n"; How to add instant popup link instead of going to the domain.com/vbmessenger/ index to open messenger add the following java to the header: Code:
<script language="Javascript1.3"> function launchbbm() { s001 = window.open("index.php?func=m_frameset", "", "width=233, height=450, address=no, toolbar=no, status=yes"); location.href="../index.php"; } </script> Code:
<a href="javascript:void(0)" onclick="launchbbm()">your link</a> Code:
href="javascript:void(0)" onclick="launchbbm()"> You must add the javascript to the "headinclude" template for your forum, and you have to edit the code to reflect the proper path to your forum or else all you will get is your forum main page when you click the link. Support and Help I will try my best to help with anyone's problems but i can't offer full support im not extreamly good at codeing nor debugging, but i can try and help to my best. i also don't mind if anyone helps fellow users with support that would be nice. i tired to make the code as easy as possible to install with no bugs, the only thing you would need to change is probably on some boards maybe ur Vbulletin ID number thats about it, otherwise upload zip and enjoy IF YOU USE THIS PLEAS DON'T FORGET THE MAGICAL BUTTON i would like to give most props to the 2 users who made this in the first place C.Birch and TomUK TomUK is the original writer of this scripts for bb|messenger, he wrote it for his friend C.Birch who then later took it and made it work for vb, then after 2 years of complete no support i took it and made it into V2.0 to work with the new 3.6.1 Vbulletin, its a shame to see this project go down and lost like this its a great SIMPLE addon that is FULLY customizeable to all sites.i have changed the name and i will work on a new style in a week or so after i get some other work done, if ANYONE would like to help with this project its would be very nice just pm me with ur changes/ your version i will take a look and update this thread and give some credit. as far as features go i have a big list of things i want to do to this, i just need someone to help in codeing the ideas. in the original thread it was said that C. birch is no longer in charge of the script but it was not said who took over so i guess, i have now, any questions feel free to ask Updates
Demo is hosted by user azn_romeo_4u at http://www.flyffworld.com/forums/vbmessenger/ Show Your Support
|
Comments |
#32
|
|||
|
|||
Quote:
|
#33
|
|||
|
|||
Quote:
|
#34
|
||||
|
||||
Quote:
Cannot connect to database using Vbulletin Board site settings After I changed it like I wrote it didn't display that error anymore so it must have connected to database fine. But it just displayed a blank page. Anyway, I hope we'll see 2.03 soon. Looking forward to it. |
#35
|
|||
|
|||
Quote:
Give me a little time (maybe hour) and i will give you some more here as i work through it. |
#36
|
|||
|
|||
Quote:
|
#37
|
|||
|
|||
yes as i had said before the marquee.php is very old im haveing trouble with it
i hope i can get the 2.03 version up by tonight i been busy moveing my server |
#38
|
|||
|
|||
loking forward to see v2.03
|
#39
|
|||
|
|||
Here is marquee.php, it should work ok, I need to clean the code up some, just need to find a spare 10mins which always turns into an hour
Code:
<?php // you may edit the below to suit your own needs define('MARQUEE_SPEED', '2'); define('MARQUEE_WIDTH', '100%'); define('MARQUEE_HEIGHT', '145'); define('MARQUEE_NAME', 'Latest Posts'); define('THREAD_LIMIT', '20'); // no need to change anything below this line :) error_reporting(E_ALL & ~E_NOTICE); require ('global.php'); ?> <!-- Scrolling Marquee --> <body bgcolor="#91BEDE" text="#000000" rightmargin="0" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0" link="#000000" vlink="#000000" alink="#000000"> <marquee id="threadticker" direction=up scrollAmount=<?php echo MARQUEE_SPEED; ?> style="width:<?php echo MARQUEE_WIDTH; ?>;height:<?php echo MARQUEE_HEIGHT; ?>;border:0px solid black; padding:0px" onMouseover="this.scrollAmount=0" onMouseout="this.scrollAmount=<?php echo MARQUEE_SPEED; ?>"> <table border=0 cellpadding=4 cellspacing=0 width="<?php echo MARQUEE_WIDTH; ?>"> <tr> <td colspan=3> <font size=2 face="Verdana, Arial, sans-serif, Helvetica, Times"> <b><a href="<?php echo $bburl; ?>"><?php echo MARQUEE_NAME; ?></b></font> </td> </tr> <?php // connect to the database and pull the info we need. $threads = $db->query_read(" SELECT threadid, forumid, title, replycount, lastposter, postuserid, postusername FROM " . TABLE_PREFIX . "thread AS thread ORDER BY thread.lastpost DESC LIMIT 10"); while ($thread = $db->fetch_array($threads)) { // make sure the user has the permission to view the current thread. $forumperms =& $vbulletin->userinfo['forumpermissions']["$forumid"]; { // if he can, go ahead and output the goods. $postctr++; if ($thread['replycount'] == 0) { $numreplies = "No Replies"; } elseif ($thread['replycount'] == 1) { $numreplies = "Reply"; } else { $numreplies = $thread['replycount']; $numreplies .= " Replies"; } echo "<tr>\n"; echo "<td width=\"$marquee_width\" style=\"border-bottom: 1px inset #000000; background-color: #4C6CA4\" onMouseover=\"this.style.backgroundColor='#607DAE';\" onMouseOut=\"this.style.backgroundColor='#4C6CA4';\">\n"; echo "<font size=1 face=\"Verdana, Arial, sans-serif, Helvetica, Times\">\n"; echo "<b><a href=\"$bburl/forums/showthread.php?s=&threadid=" . $thread['threadid'] . "\" target='_blank'>" . $thread['title'] . "</a></b><br>\n"; echo "Started by: <a href=\"$bburl/forums/member.php?s=&action=getinfo&username=" . $thread['postusername'] . "\" target='_blank'>" . $thread['postusername'] . "</a><br>\n"; echo "Last Post by: <a href=\"$bburl/forums/member.php?s=&action=getinfo&username=" . $thread['lastposter'] . "\" target='_blank'>" . $thread['lastposter'] . "</a><br>\n"; echo $numreplies; echo "\n</font>\n"; echo "</td>\n</tr>\n\n"; } } ?> </marquee> <!-- End Scrolling Marquee --> |
#40
|
|||
|
|||
So how do we install without the install file in the zip?
|
#41
|
||||
|
||||
any working demo?
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|