vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.0 Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=33)
-   -   Post Award Hack 1.2 (https://vborg.vbsupport.ru/showthread.php?t=69198)

Abe1 09-08-2004 04:25 PM

Quote:

Originally Posted by Mellow
Any possible way this could be modified for use as a post/voting hack?

If the rose could end up being a counter, if every member had the option to increase (vote) the counter or decrease (un-vote) the counter, this could be used in my forums as I have a weekly caption contest. If each member could vote on a post they like then, by the end of the week you could see who had the highest number of votes for that thread.

This is a great hack but might spawn another one........

I don't think so.

roundhost 09-08-2004 05:16 PM

Also as a side note, somebody keeps on visiting award.php, nobody should even know of this page yet i see the person on it in online.php, who is it, why is he there? and how did he get there? lol :p

Abe1 09-08-2004 05:22 PM

Quote:

Originally Posted by roundhost
Also as a side note, somebody keeps on visiting award.php, nobody should even know of this page yet i see the person on it in online.php, who is it, why is he there? and how did he get there? lol :p

No clue. Award.php only has the sql querys for this hack. In next version I'll try to send a person to index.php if someone trys to access it.

Blackbeard 09-09-2004 10:12 AM

just an idea, iam going to add this just might want to make it a bronze, silver and gold award system, might work

pjdaley 09-09-2004 12:52 PM

can you name the award? for example lets say you have a question that needs to be asnwered... who ever asnwers it wins. Can you name the award like, Winner of the Winning Answer Award, or the Winning answer Award... or whatever i want to call it, but then have another award and call it something esle...

Roms 09-09-2004 02:16 PM

Nice hack, THX :)

snyx 09-09-2004 04:15 PM

what about changing the color of the thread title in forumdisplay as well, or maybe a special icon? you don't know its an award thread until you click into it.

Roms 09-09-2004 04:54 PM

Works great Thx. :)

it would be nice of mods could use it.. ;)

Abe1 09-09-2004 10:16 PM

Quote:

Originally Posted by infantrymen
Works great Thx. :)

it would be nice of mods could use it.. ;)

In the changes I said to make in the postbits,
Find:
PHP Code:

$bbuserinfo['usergroupid'] == '6' 

Replace with:
PHP Code:

can_moderate($forum[forumid], ''$bbuserinfo[userid]) 

I didn't test it.

Abe1 09-09-2004 10:19 PM

Quote:

Originally Posted by snyx
what about changing the color of the thread title in forumdisplay as well, or maybe a special icon? you don't know its an award thread until you click into it.

I'll try to figure something out.


All times are GMT. The time now is 10:38 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.01159 seconds
  • Memory Usage 1,739KB
  • 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_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)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