vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - Top Posters (https://vborg.vbsupport.ru/showthread.php?t=121918)

Angel-Pie 07-06-2007 07:47 PM

installed awesome this will be good for a post a thon!!!!

njoker555 07-08-2007 01:00 AM

Quote:

Originally Posted by Lizbaby4 (Post 1259550)
I know you have been asked this question a ton of times before, but when I went to add the link to the nav bar (I have a custom style) I could not find this:

PHP Code:

<tr><td class="vbmenu_option"><a href="member.php?$session[sessionurl]u=$bbuserinfo[userid]">$vbphrase[my_profile]</a></td></tr

Is there someplace else I should put the coding to add the link to the nav bar?

dont know if u found this already but follow this: go to your header file - not ur navbar file

search for:
Code:

<tr><td class="vbmenu_option"><a href="#" onclick="window.open('misc.php?$session[sessionurl]do=buddylist&amp;focus=1','buddylist','statusbar=no,menubar=no,toolbar=no,scrollbars=yes,resizable=yes,width=250,height=300'); return false;">$vbphrase[open_buddy_list]</a></td></tr>
under it add:
Code:

<tr><td class="vbmenu_option"><a href="http://www.yoursite.com/misc.php?do=topposters">Top Posters</td></tr>
i just added the mod, its great :) thanks for it

Brembo 07-08-2007 02:11 PM

I am interest this mod..Unfortunately i don't know how to install it..Can somebody help me please..:o

deezelpope 07-08-2007 02:24 PM

<i>Paul's mod's always come with very easy-to-understand instructions, usually in the first post and/or in the zip file.</i>

swissbob 07-09-2007 12:40 PM

I get a mysql error
http://www.democracyforum.co.uk/misc.php?do=topposters

Quote:

Database error in vBulletin 3.6.7:

Invalid SQL:

SELECT COUNT(post.dateline) AS postcount, post.userid, user.username
FROM post AS post
LEFT JOIN user AS user ON (post.userid = user.userid)
WHERE dateline > 1183988154 AND 1
GROUP BY userid ORDER BY postcount DESC LIMIT;

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 '' at line 5
Error Number : 1064
Date : Monday, July 9th 2007 @ 09:35:54 AM
Script : http://www.democracyforum.co.uk/misc.php?do=topposters
Referrer :
IP Address : ***
Username : ****
Classname : vb_database

Paul M 07-09-2007 02:37 PM

You're missing a setting ;

In the vboptions page for this mod, make sure "Set the number of Top Post lines to be displayed" has a value set.

swissbob 07-09-2007 03:12 PM

Quote:

Originally Posted by Paul M (Post 1286748)
You're missing a setting ;

In the vboptions page for this mod, make sure "Set the number of Top Post lines to be displayed" has a value set.

Now I just get a blank page :mad: I have tried altering all of the settings, but nothing seems to make a difference.

Thanks for you help, btw.

Paul M 07-09-2007 06:25 PM

I suggest you reinstall the product, sounds a bit like vb failed to import it properly.

swissbob 07-09-2007 09:32 PM

Quote:

Originally Posted by Paul M (Post 1286912)
I suggest you reinstall the product, sounds a bit like vb failed to import it properly.

weirdly I had done that before.... but I tried it once more on your suggestion and now it works, thankyou. :)

aakhan136 07-14-2007 04:38 PM

thanks


All times are GMT. The time now is 09:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01261 seconds
  • Memory Usage 1,745KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_code_printable
  • (1)bbcode_php_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete