The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
vBTopSite Details »» | |||||||||||||||||||||||||
vBTopSite - Used from 2.2.9 - 2.3.3, should work on all 2.x
Description: Topsites script for people who's sites revolve around vbulletin. This script I actually wrote several months ago, and now I finally decided to release them on vb.org. There are some things which I have not included in this version, but they will be released here as I am satisfied with them: All functions appearing in 'Useful Admin Functions' in the ACP Everything else works. ^_^ now anyway, features... Topsites Features: [in no order, partial list]
Admin Features: [in no order, partial list]
** = Will be appearing on vb.org shortly. It is advised anyone who uses this hack, to click install, because of the nice updating thing i can do, and like i said, there will be updates in a little while. LIVE VERSION: http://forums.ffgon.com/topsites.php Feel free to join if you are a Final Fantasy site ^_^ [ignore the popups, they dont appear if you are logged into the forums] MORE: http://www.animationation.net/community/topsites.php http://www.bluelaguna.net/forum/topsites.php http://www.orbsydia.com/forum/topsites.php anyway, i might post screenshots, but the admin stuff isnt much to see, i basically just explained it up there ^ :-p If you have any questions, etc, post them FYI: a more advanced script is in the works by me, which will be free from vbulletin and including many more features, like a user rating/comment system. This will be 10$ or so, and more details are available if you pm me (dont discuss it here) Thank you for using this hack! i know i dont usually post my stuff, well here you go ^_^ Show Your Support
|
Comments |
#62
|
||||
|
||||
i get this error when i put the $variable = topsites_stats(); after the code from function.txt
error: Quote:
|
#63
|
||||
|
||||
oh, i think i know what the problem is
in the function, after function topsites_stats() { put: global $DB_site; should work then (i havent tested any of this) |
#64
|
||||
|
||||
ok i no longer get an error but now on my forum home where i put the variable for site title of which ever is rank #1 i get this:
Quote:
|
#65
|
||||
|
||||
$topsites_array[#][siteid]
$topsites_array[#][site_url] $topsites_array[#][site_title] $topsites_array[#][site_webmaster] $topsites_array[#][site_description] $topsites_array[#][today_in] $topsites_array[#][today_out] $topsites_array[#][today_unique] $topsites_array[#][today_hits] $topsites_array[#][total_in] $topsites_array[#][total_out] $topsites_array[#][total_hits] $topsites_array[#][total_unique] $topsites_array[#][average_unique] $topsites_array[#][average_out] $topsites_array[#][average_hits] $topsites_array[#][average_in] make sure your typing it right in your templates: from $variable = topsites_stats(); the the title of the first should be $variable[1][site_title] |
#66
|
||||
|
||||
this is wut i put in my forumhome template:
$variable[1][site_title] |
#67
|
||||
|
||||
why dont you just try doing this...remove the function, remove the line, and put this where you originally had the line:
PHP Code:
|
#68
|
||||
|
||||
hmm, i keep getting ARRAY[site_title]
|
#69
|
||||
|
||||
hmm ill install this somewhere and see how it works. watch for me to edit this post with my findings
EDIT: i just tried both the function method and the straight method. both worked perfectly.....show me the code you have in your template (a larger portion of it) |
#70
|
|||
|
|||
Database error in vBulletin Control Panel 2.3.3:
Invalid SQL: UPDATE topsites_options SET display='2',active='1','require'='1',hitson='1',bu tton s='http://forums.sgwdc.com/images/sgwdc/topsite/',arrows='http://forum.sgwdc.com/images/sgwdc/topsite',perpage='10',totalbuttons='10',da ytime='1',htmlallowed='<b><u><i>',bheight='31',bwi dth='88', bborder='0',resolve='0',rankby='todayunique' mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ''require'='1',hitson='1',button s='http://forums.sgwdc.com/ima mysql error number: 1064 Date: Sunday 04th of January 2004 02:40:54 PM Script: http://forums.sgwdc.com//admin/topsites_admin.php Referer: http://forums.sgwdc.com/admin/topsit...ction=options& After i edited.. =x please help |
#71
|
||||
|
||||
sorry, i gave you the wrong quotes for the require section...
(maybe i should change the column for that...its caused too many issues :-p) anyway, change (what you have) 'require'= to `require`= (the backwards apostraphe..not sure what its called) also, when your done, if you give me your link ill add it to the first post ^_^ |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|