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)
-   -   [HTL] & [TXT] Awards/Medals/Cards Hack [vB3] (https://vborg.vbsupport.ru/showthread.php?t=61108)

PlenoJure 09-21-2004 07:55 PM

Thanks for the great hack, installed & working perfectly on a highly customized 3.0.3 install. :)

Amavisca 09-23-2004 03:52 AM

Man what is going on? I did install the hack and it works ok however later on i decide i dont like this hack no more since my user dont need it .

I do the uninstall options and it mess up mydatabase:
There seems to have been a slight problem with the CafeBuon database.
Please try again by pressing the refresh button in your browser.

An E-Mail has been dispatched to our Technical Staff, who you can also contact if the problem persists.

We apologise for any inconvenience.

Grr tell me what is wrong plz

InfiniteWebby 09-24-2004 12:16 AM

For the uninstall to work properly you have to remove any file changes made by the hack otherwise just keep it installed without actually using it ;) I shoulda made that more clear.

davievil 09-28-2004 02:29 PM

hello i'm new to the hacks for vb, it took me awhile to figure out how to get the hack up but my issue is... um now what? where do i go to add the awards and all that... maybe i installed it wrong?

Vman 10-04-2004 03:34 AM

"INSTALLED" and works great...

Now, How would I be able to grant permission for my Mods/Sup Mods and Assit. Admin to be able to give medals out to the members...(Without having access to the AdminCP)

Thanks!!!

Twiser 10-04-2004 02:19 PM

Great hack , Thx

davievil. Go to adminsection and then users , U will be able to award a player there.

Flow Fusion 10-04-2004 02:20 PM

Quote:

Originally Posted by BBCVman
"INSTALLED" and works great...

Now, How would I be able to grant permission for my Mods/Sup Mods and Assit. Admin to be able to give medals out to the members...(Without having access to the AdminCP)

Thanks!!!

Good question and I would also like to know.

Quote:

Originally Posted by davievil
hello i'm new to the hacks for vb, it took me awhile to figure out how to get the hack up but my issue is... um now what? where do i go to add the awards and all that... maybe i installed it wrong?

From your index.php in the admincp. If you installed it right you should see "Add new award."

Flow Fusion 10-06-2004 05:03 AM

Is it any way to fix the broken user profile issue? Cause everytime someone registers on my forum and post they show us as a guest until I fix that. And my board averages 15-30 people a day. This is kinda tedious.

Vman 10-07-2004 12:27 AM

OK, I changed skins and now my medals are not showing...Can you please just give me the code for it to show on the forums, everything else is still there, just not showing up on in the posts....

Thanks..

I Figured It Out!!!....

InfiniteWebby 10-07-2004 07:24 AM

Flow, the edits for this are already in there, probably in the registration.php file?!? I think, but they are definately there.

Ok found them:

In register.php find:
PHP Code:

        // insert custom user fields
        
$DB_site->query("INSERT INTO " TABLE_PREFIX "userfield $userfieldsnames VALUES ($userid$userfields)"); 

Add below:
PHP Code:

// [START HACK='Awards/Medals/Cards by AnimeWebby' AUTHOR='AnimeWebby' VERSION='2.0' CHANGEID= 15 ]
        // insert user awards
        
$DB_site->query("INSERT INTO " TABLE_PREFIX "useraward (userid) VALUES ($userid)");

// [END HACK='Awards/Medals/Cards by AnimeWebby' AUTHOR='AnimeWebby' VERSION='2.0' CHANGEID= 15 ] 



All times are GMT. The time now is 08:39 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.01471 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_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)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