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 ] 


Lionel 10-07-2004 12:09 PM

From the first post:
Quote:

Extra page showing all awards available as well as all the users who have earned an award.
How do we display that?

moley 10-07-2004 04:56 PM

award or awards.php its one of the two.

rex_b 10-07-2004 06:59 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!!!


anybody?

Flow Fusion 10-08-2004 01:56 AM

Quote:

Originally Posted by AnimeWebby
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 ] 



Thank you so much I can finally sleep.

rex_b 10-08-2004 07:04 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!!!




anybody?

bumpity bump

Blam Forumz 10-08-2004 08:25 PM

didnt work for me, messed up my database, all the time

paulomt1 10-09-2004 11:05 PM

I have instaled it in my vb303 and works great, thanks:)

Anyone know where I can get more medals images?

InfiniteWebby 10-10-2004 01:57 AM

Blam, either send me a pm with what is happening or shutup. This hack works fine apart from a few people who have missed some steps when installing all of which I have walked them through how to fix it.

At the moment there is no way to allow your mods to control this hack. I have no time to do anything at the moment so please don't rely on me to make it so. I suppose you could do all the admincp/ file edits to the corresponding ones in modcp/ but nothing can be guarenteed.

Vman 10-10-2004 03:43 AM

Quote:

At the moment there is no way to allow your mods to control this hack. I have no time to do anything at the moment so please don't rely on me to make it so. I suppose you could do all the admincp/ file edits to the corresponding ones in modcp/ but nothing can be guarenteed.
Thanks for the great hack either way!!!...You have done a great job and I have had no problem installing with 3.0.3!!!!

Sad tho to see the support end this way. I hope to see some changes when you have the time to make this even a better if not the best hack of its time.

pfvc 10-29-2004 11:19 AM

Excellent mod, works a charm on my 3.03 board and the users love it. One question I did have the gfx I use for the awards and the number of awards I have available, when someone has a number of them it goes of to the right of the screen and you need to scroll across to see the whole profile page. By chance is there any way to have it so that once it hits a certain length it wraps to the next line under (this is the awards bit only I refer to), so that the member profile screen doesn't skew off to the right via scroll bars?

Excellent job.

rex_b 11-10-2004 07:56 PM

Ugh someone plz make this available for the MODCP.. I've been trying but can't make it where the MODCP can save the changes..

rex_b 11-11-2004 06:46 PM

I know someone knows what to do! Step up, pweeaasseee?

snake-boy 11-19-2004 02:49 PM

Hi,

I have been looking for something like this FOREVER, please please assist me in getting it working.

Info requested:

- HTL or Standalone installer. - Standalone Installer
- Version of vB you are running. - V3.0.3
- File where error is encountered. - During install process (awards_install.php)
- Exact error or description of error. - See below:

PHP Code:

======================================
Database error in vBulletin 3.0.3:

Invalid SQL
        
SELECT
            post
.*, post.username AS postusernamepost.ipaddress AS ip,
            
user.*, userfield.*, usertextfield.*, useraward.*,
            
icon.title as icontitleicon.iconpath,
            
avatar.avatarpathNOT ISNULL(customavatar.avatardata) AS hascustomavatarcustomavatar.dateline AS avatardateline,
            
level,
            
NOT ISNULL(deletionlog.primaryid) AS isdeleteddeletionlog.userid AS del_useriddeletionlog.username AS del_usernamedeletionlog.reason AS del_reason,
            
editlog.userid AS edit_userideditlog.username AS edit_usernameeditlog.dateline AS edit_dateline,
            
editlog.reason AS edit_reason,
            
post_parsed.pagetext_htmlpost_parsed.hasimages,
            IF(
displaygroupid=0user.usergroupiddisplaygroupid) AS displaygroupid
            
        FROM post 
AS post
        LEFT JOIN user 
AS user ON(user.userid post.userid)
        
LEFT JOIN userfield AS userfield ON(userfield.userid user.userid)
        
LEFT JOIN usertextfield AS usertextfield ON(usertextfield.userid=announcement.userid)
        
LEFT JOIN useraward AS useraward ON(useraward.userid user.userid)
        
LEFT JOIN icon AS icon ON(icon.iconid post.iconid)
        
LEFT JOIN avatar AS avatar ON(avatar.avatarid user.avataridLEFT JOIN customavatar AS customavatar ON(customavatar.userid user.useridLEFT JOIN reputationlevel AS reputationlevel ON(user.reputationlevelid reputationlevel.reputationlevelid)
        
LEFT JOIN deletionlog AS deletionlog ON(deletionlog.primaryid post.postid AND deletionlog.type 'post')
        
LEFT JOIN editlog AS editlog ON(editlog.postid post.postid)
        
LEFT JOIN post_parsed AS post_parsed ON(post_parsed.postid post.postid)
        
WHERE post.postid IN (0,10)
        
ORDER BY dateline 
    
mysql error
Unknown table 'announcement' in on clause

mysql error number
1109

Date
Friday 19th of November 2004 10:50:38 AM
Script
http://<path_to_my_forums>/showthread.php?t=8
Referer
Username: <myusername>
IP Address: <my_ip_address>
=========================== 

I have checked to see that the table "announcement" actually exists. It does. I also tried to fix broken user profiles from admincp just in case, but no go. Everything "seems" ok until I hut a showthread.php :(

Please advise me how to fix this, I really (REALLY) want to install this hack.

I await your reply. Many thanks in advance to anyone who may advise?

-snake

paulmjno 11-29-2004 12:40 AM

Amazing hack! But... very tiring to install! lol. The first hack I've installed thus far with no problems. :)

TosaInu 11-30-2004 08:10 PM

Quote:

Originally Posted by paulmjno
Amazing hack! But... very tiring to install! lol. The first hack I've installed thus far with no problems. :)

vb 3.03, works without a flaw. Nice hack AnimeWebby.

tomcromp 12-03-2004 12:28 AM

Well, it simply won't work for me.

I installed following all the steps, but I still get an error:

Unable to add cookies, header already sent.
File: /home2/tom/public_html/forum/includes/functions_showthread.php
Line: 704

It's really bothering me as this is my first hack install and it won't work.

trackpads 12-03-2004 10:46 AM

Great Hack!

2 Additions if you ever get time.

1. Can you leave the small postbit but have the Awards display a large version of the award? Or both? I would like ot have full metals in the Awards page but only the tiny ribbons on the postbit.

2. Any way yo make them scroll in the postbit? The latest IPBArcade hack does this and it would be a great addon for this hack.

Agian, excellent work and thanks!!!!!

dssart 12-04-2004 02:38 AM

Finally installed this hack..works great with 3.0.3..I'd like to see an update with some of the great suggestions posted here. I would definitely pay for the next one!

BTW, for all those having trouble with this script...make sure every bit of code is inserted correctly. I had a ");" in the wrong place and I couldn't view my members.php!

Eagle Creek 12-04-2004 10:52 AM

Quote:

Originally Posted by dssart
Finally installed this hack..works great with 3.0.3..I'd like to see an update with some of the great suggestions posted here. I would definitely pay for the next one!

BTW, for all those having trouble with this script...make sure every bit of code is inserted correctly. I had a ");" in the wrong place and I couldn't view my members.php!

I wouldn't but still it is a great script!

Edric 12-08-2004 11:49 AM

Quote:

Originally Posted by Flow Fusion
Ok this hack does not work in 3.1 unless you do this.

You need to use the 3.0 showthread.php, and the 3.0 includes/adminfunctions_showthread.php

It won't work on the 3.1 php files. I don't know why but that's the deal.

I have the shoutbox, who was online, awards, arcade, and store hack on my board.

And this is the only way I see getting this file to work.

I am using 3.0.1, where can I get the 3.0.0 files?

I keep on getting errors with the showthread files, obviously using the 3.0.1 files.

tomcromp 12-09-2004 05:26 PM

Is there anyone willing to install this hack for us. It screwed up the forum last time. :(

red_baron2000 12-12-2004 01:35 AM

great hack ..i've installed wothout any problem all works fine..however i am missing the medals icons anyone know where i can get some? thak you :)

SHARKY 12-12-2004 05:31 PM

would be nice if there was an install text instead of the edits within the install so when ya add nnew templates to your site you can just edit them rather than have the edits in the install itself

SirJonathan 12-13-2004 05:24 PM

hey guys! Got what I think is a simple bug to work out..

When viewing a member profile, I get:

Warning: in_array(): Wrong datatype for second argument in (address)/community/member.php on line 512

Line 512:

Code:

if (!in_array($userinfo['userid'], $buddylist))
This is code directly AFTER the awards hack. I've put the original up, works fine. Added the hacks in and it no longer works. Tested it a couple times to make sure I Wasn't messing up :).

Any thoughts?

TLSNetwork 01-01-2005 10:31 AM

i have installed this and for the most part it is working well , The only problem i get is it is not showing up in the posts , It shows up ok in the users profile and everything looks good there , But for some reason and no matter how hard i try i cannot get it to show up in ther posts I am not getting any sql errors anywhere so all thats ok as far as i know.
Any ideas anybody this is on a 3.0.3 board.

edit : Never mind i sort out the problem

RetroDreams 01-01-2005 01:44 PM

How do I edit this so if there are no awards, it will display "No Awards?"

GlitterKill 01-06-2005 02:32 AM

I just updated to 3.0.4 which seems to break this hack. I went back to fix the hack by going through the install procedure again and when I did the functions.php hack (the file has changed in 3.0.4) I get this error on the site:

Parse error: parse error, unexpected T_STRING in /home/virtual/site2/fst/var/www/html/forums/includes/functions.php on line 941

I took out that functions.php hack and the board runs again but without the awards showing at all. Any ideas?

dssart 01-08-2005 06:08 PM

I re-uploaded all the files from the zip and selected "uninstall" from the installation screen. Afterwards the forum was inoperable, however I then performed the VBulletin upgrade as normal and after the upgrade the forum was perfectly fine.

I'm leary about re-installing this..has anyone done the upgrade and re-installed? does it work O.K. under 3.0.5?

GlitterKill 01-08-2005 08:34 PM

No, the hack will break vb 3.0.4 from my experience. Is that the version you are running? How did you install the functions.php hack when the file in 3.0.4 is different than the instructiosn for the hack? Where did you place the hack code?

dssart 01-09-2005 01:38 AM

I read your message that you were having problems with this hack under 3.0.4 so I figured I'd better try uninstalling it before I updated from 3.0.3. I updated to 3.0.5 this evening. I didn't want to try and save this hack through the upgrade. It's more of a headache to save it than it would be to simply spend the hour or so to hand install it again.

In order to get a thorough uninstall, I uploaded all the files from the .zip file, and then ran the install script and from there the uninstall option. The uninstall ran seemingly well until it was done. When I then tried accessing my forum I received a MySQL error message. Same when trying to access the admin CP. If I hadn't been upgrading ( which must've replaced the corrupted file ) I would be screwed.

I'm not going to re-install this hack and risk crippling my forum until I hear someone has it up and working under 3.0.5


All times are GMT. The time now is 06:37 PM.

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.01918 seconds
  • Memory Usage 1,874KB
  • 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
  • (1)bbcode_code_printable
  • (5)bbcode_php_printable
  • (10)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