vb.org Archive

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

Lance Carbuncle 01-27-2006 03:41 AM

Hey Paul.... Your hacks all rock!... I have them all installed on my forum....

One thing I would like in the top posters display list is to have the usernames be active links to their member homepage... is there a line I can throw somewhere to get this to work....?

Thanks again for the great hacks........ Lance

http://www.forums.repashy.com/cmps_index.php

Paul M 01-27-2006 04:55 AM

It would (I think) require a template edit and changes to the sql queries.

Lance Carbuncle 01-27-2006 01:38 PM

Thanks Paul.....

I am not a coder, so wouldn't know where to start...I can only follow directions, and am lucky if I can pull that off most of the time LOL Maybe you will consider this for a future release....... :)

Cheers, Lance

Guest210212002 01-27-2006 01:49 PM

Yikes, for some reason my forums didn't agree with this at all. Importing the product gave me a blank screen (well, blue, but no text) each time, and I got this:

Page generated in 29.82860 seconds with 16 queries [Server Loads: 3.79 1.50 : 1.01]

On each of my pages. I'm sure it's probably something to do with my particular setup, since Paul's a hell of a coder, but yikes, it was the hack of doom for me.

/me tries to determine what the sod happened

Guest210212002 01-27-2006 04:39 PM

And upon checking my email, I get this SQL error trying to add the plug in:

Quote:


I don't have this installed, didn't have it previously installed, and the only thing that I can think of is that perhaps this is using the same product ID as one of your other hacks?

zylstra 01-27-2006 06:10 PM

Paul, I hope I'm not hijacking this thread, but do you know of a hack that shows the 3 or 5 (or however many) top posters per board?

AshokForums.com 01-27-2006 08:48 PM

Can you create a Column to display their respective ranks?? Like 1, 2 , 3 etc

And also a cup (Like the arcade leaderboard) for the 1st, 2nd and 3rd member would be great :)

Paul M 01-27-2006 09:27 PM

Quote:

Originally Posted by Chris-777
Yikes, for some reason my forums didn't agree with this at all. Importing the product gave me a blank screen (well, blue, but no text) each time, and I got this:

Page generated in 29.82860 seconds with 16 queries [Server Loads: 3.79 1.50 : 1.01]

On each of my pages. I'm sure it's probably something to do with my particular setup, since Paul's a hell of a coder, but yikes, it was the hack of doom for me.

[high]* Chris-777 tries to determine what the sod happened[/high]

Unfortunately you have fallen victim to impatience and a lack of feedback from the product install system. The installation includes creating two indexes, which on larger forums can take a bit of time (and as you noticed, drive the server load up while they are created). vB just shows a blank screen while this creation takes place.

Because you stopped the install mid process, the product id exists, which is why you get the duplicate problem. On the import, try setting the "allow overwrite" to yes. Install it at a quiet period and just leave it to proceed, blank sccreen and all. :)

Paul M 01-27-2006 09:32 PM

Quote:

Originally Posted by Lance Carbuncle
Thanks Paul.....

I am not a coder, so wouldn't know where to start...I can only follow directions, and am lucky if I can pull that off most of the time LOL Maybe you will consider this for a future release....... :)

Cheers, Lance

If you want to drop me a PM with admin access to your forum, I can probably do it for you sometime in the next week or two. It should be less than 30 mins of work.

Guest210212002 01-27-2006 09:54 PM

Quote:

Originally Posted by Paul M
Unfortunately you have fallen victim to impatience and a lack of feedback from the product install system. The installation includes creating two indexes, which on larger forums can take a bit of time (and as you noticed, drive the server load up while they are created). vB just shows a blank screen while this creation takes place.

Because you stopped the install mid process, the product id exists, which is why you get the duplicate problem. On the import, try setting the "allow overwrite" to yes. Install it at a quiet period and just leave it to proceed, blank sccreen and all. :)

That is the nicest way I've ever been told to stop being an impatient sod, ever. :D

You're absolutely right, thanks very much sir.

[high]* Guest210212002 humbly crawls up to the install button and clicks it[/high]

Joey805 01-31-2006 09:36 PM

Is there a way to remove the Last 28 days column from displaying? It's almost identical to the Last Month column.

Thanks,

Joey

Paul M 01-31-2006 09:56 PM

No, but you could change it to 14 days or whatever if you really want.

BTW, it's not the same, it's always the last 28 days - the "This Month" is always the 1st of the current month to the current date (so today its Jan 1st - Jan 31st, tomorrow it will be Feb 1st only, then Feb 1st - Feb 2nd etc).

Joey805 01-31-2006 10:14 PM

Ok thanks. Whats the easiest way to change it to 14 days? I can change it within admin but wont the code need to be updated as well to show the column heading correctly?

Also, I am running 4.53 and in the instruction text file, it says:

In the navbar template ;

Find ;

<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>

This does not exist in my navbar template.

The closest I have to this code in the standard unmodified navbar template is this:

<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>

What should I do? If I add your code below it, it puts a Top Posters link in the Quick Links sub Menu.

Paul M 02-01-2006 02:44 AM

That's the correct place - the navbar has been updated slightly since the instructions were written.

The column heading is a phrase - search for it in the phrase manager and edit it.

Joey805 02-01-2006 04:41 AM

How could I add the top posters link to the main bar instead of in the Quick Links menu?

Joey805 02-06-2006 10:41 PM

Hey Paul,

I just had Jelsoft import my data over from another forum into VB and everything seems to be working fine with forum functionality. I then installed your hack for top posters but its not picking anyone up. It shows only the two new test posts that I did after the import. The other 1500 users with posts are not getting read and displayed. Can you help me out?

I asked Jelsoft and they said I need to contact you directly. They assured me that the data is there like it should be.

Thanks,

Joey

Paul M 02-07-2006 01:16 AM

As a guess I would say those 1500 users are in a non standard usergroup - In the 'Top Posters' settings (in vbulletin Options), make sure the "Included User Groups" includes all your active usergroups.

majorxp 02-10-2006 05:57 PM

Quote:

Originally Posted by Joey805
Ok thanks. Whats the easiest way to change it to 14 days? I can change it within admin but wont the code need to be updated as well to show the column heading correctly?


Also, I am running 4.53 and in the instruction text file, it says:

In the navbar template ;

Find ;

<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php?$session[sessionurl]">$vbphrase[private_messages]</a></td></tr></if>

This does not exist in my navbar template.

The closest I have to this code in the standard unmodified navbar template is this:

<if condition="$show['pmstats']"><tr><td class="vbmenu_option"><a href="private.php$session[sessionurl_q]" rel="nofollow">$vbphrase[private_messages]</a></td></tr></if>


What should I do? If I add your code below it, it puts a Top Posters link in the Quick Links sub Menu.




phrases to change are:

top_posters_col1
top_posters_col2
top_posters_col3
top_posters_col4
top_posters_col5

majorxp 02-10-2006 06:04 PM

Installed. Thanks!

I wonder how much effort it would take to get a vba module created to show the top posters over a variable amount of days using the same usergroup settings......

Bellinis 02-11-2006 11:21 PM

Is it possible to add a WOL location for the top posters page? :)

Joey805 02-15-2006 04:59 AM

How do I fix these:

Uncached templates: Top_Posters_bit (23)
Uncached templates: Top_Posters_blank (17)
Uncached templates: Top_Posters_row (10)

Paul M 02-15-2006 09:29 AM

Quote:

Originally Posted by Joey805
How do I fix these:

Uncached templates: Top_Posters_bit (23)
Uncached templates: Top_Posters_blank (17)
Uncached templates: Top_Posters_row (10)

Upgrade to v3.13 - they were missed in a previous change.

Snake 02-15-2006 12:51 PM

Thank you! :)

stinger2 02-15-2006 01:07 PM

thank you.....just upgraded it......it seem i nearly installed ALL your hacks.....great job

CupraSi 02-15-2006 03:15 PM

Paul

Thank you this is my third ever hack

A couple of things

When you now drop down the quick links I get this

class="vbmenu_option">Private Messages

It has also moved the Top Posters box to the right

If you go to www.seatenthusiasts.co.uk/forum you will see it

Also can you put this at the bottom of the forum do you know?

Cheers

Joey805 02-15-2006 03:21 PM

Thanks paul, the upgrade fixed the problem.

Paul M 02-15-2006 03:42 PM

CupraSi - Quicklinks is not visible to guests. Your Top Posters display looks fine.

http://www.seatenthusiasts.co.uk/for...?do=topposters

CupraSi 02-15-2006 03:52 PM

Paul

Damn ... the quick links box has gone weird thats all

I will enable quick links for Guests

CupraSi 02-15-2006 03:56 PM

Paul how would I move it so it is below my users online please?

Paul M 02-15-2006 04:40 PM

Move what exactly ?

CupraSi 02-15-2006 04:47 PM

I would like the box with the stats to move so it us below my online users

Paul M 02-15-2006 06:57 PM

You can't really do that, it's designed to be it's own page, you would have to redo large parts of it. I would also seriously dicourage it anyway, some of the queries are quite 'heavy' - esp on busy boards. It's not something you want to run many times a minute on your homepage.

CupraSi 02-15-2006 07:02 PM

Cheers Paul thats answered my question ... I hope it can be done in the future

Freezerator 02-15-2006 07:08 PM

Nice hack!

TPOCJames 02-15-2006 11:20 PM

Love it.

Paul M 03-14-2006 04:30 PM

If you've downloaded this in the last 4 weeks you may want to download it again and re-install. There was a line of debug code left in it (that has now been removed). It won't affect anything other than an a line of text may appear at the top of the screen on the WOL page.

xlegends 03-14-2006 06:41 PM

YES this ne update also fixed the conflict with whose online. previously whose online would not work while this hack was running.

hiiped 03-14-2006 08:20 PM

< installed >

< and rated a 5 >

Joey805 03-15-2006 05:57 PM

OK Paul, I installed the plugin and it works great except for one thing. I have v3arcade installed and when ever this plugin is active and I goto my active users page, i get some code showing up in my header and it's making the size of my table up there distort. I turn off top posters and the page looks fine.

Can we debug this problem? If you want I can provide you with a URL and username/password to see for yourself.

Thanks for all your contributions.

~ Joey

Paul M 03-15-2006 09:02 PM

Quote:

Originally Posted by Joey805
OK Paul, I installed the plugin and it works great except for one thing. I have v3arcade installed and when ever this plugin is active and I goto my active users page, i get some code showing up in my header and it's making the size of my table up there distort. I turn off top posters and the page looks fine.

Can we debug this problem? If you want I can provide you with a URL and username/password to see for yourself.

See post #156 (about two above yours). :)


All times are GMT. The time now is 12:00 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.01472 seconds
  • Memory Usage 1,821KB
  • 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
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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