vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Beta Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=5)
-   -   Special post counter system (https://vborg.vbsupport.ru/showthread.php?t=48977)

Dpcows 02-15-2003 10:00 PM

Special post counter system
 
Version: 0.3
Title: Special post counter system
Requested: [Here]
Explanation: You can maintain a special post counter for certain forums, like your offtopic forum.

Features:
  • Special counter in postbit template
  • Add special counter to your profile overview
  • Special counter can be controled from admin panel

Screenshots
Version 0.3 should be working fine.
i'm not able to test it very well. but it worked for me one 1 board.
my conenction make it almost impossible to upload a file to my server :/

but it should work, and there is no restrinction of the amount of forums..

by the way, i put all this in a nice install file :)
upload that file to your admin dir and run it..

Dpcows 02-16-2003 09:38 AM

a example of the special post counter:

BaBa2002 02-16-2003 09:42 AM

wow nice dude

Dpcows 02-16-2003 09:45 AM

it works ? or you just clicked install for fun ?

Floris 02-16-2003 11:45 AM

I have made some additions:
You can now turn it on/off in the admin control panel
You can now set the forumid through the admin control panel
And where it says 'Special Posts' - You can now name this whatever you want through the admin control panel too.

All three options are available through acp > vbulletin options > thread options.

I gave you the file, and can't wait for you to implement it in the new version, together with the support for multiple forums and how to delete stuff and update counters, etc.

Nice hack, I might not have a use for it, but if it is complete later on, it starts to look really interesting and fun to play with :)

I have another little feature request.
Would it be possible to extend this to use for threads too?
Special Posts: x
Special Threads: y

Also, maybe extend my add-on to also have option to set the number to count up for the special count, like 1, or 5
And the same for threads,
so we can set posts count each time up with 1
and threads with 2
or 5 and 10 or 100 and 1000 :)

Dpcows 02-16-2003 12:29 PM

Quote:

Originally posted by xiphoid
I have another little feature request.
Would it be possible to extend this to use for threads too?
Special Posts: x
Special Threads: y

I guess that is possible..

Quote:

Originally posted by xiphoid
Also, maybe extend my add-on to also have option to set the number to count up for the special count, like 1, or 5
And the same for threads,
so we can set posts count each time up with 1
and threads with 2
or 5 and 10 or 100 and 1000 :)

what use will that be ? could be done, but i don't see the use :)


btw: implented multiple forums and you addon.
now working on the delete problem.

thx for the help

Xyphen 02-16-2003 12:51 PM

Nice hack, I might use it sometime but not now..

Dpcows 02-16-2003 01:24 PM

i've finished the delete part.

check the first post in this thread for a updated version.
i hope the install file is complete.

Dpcows 02-16-2003 01:58 PM

admin section screenshot

Dpcows 02-16-2003 02:03 PM

screenshot of specialposts in user profile


All times are GMT. The time now is 12:34 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.01007 seconds
  • Memory Usage 1,738KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (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