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)

Flow Fusion 03-18-2004 01:33 AM

Ok I got the database error. Now what about the "'pollresult'" and "usertextfield.*,
" is do I edit the first ones or the second?

lasto 03-18-2004 06:46 AM

pollresult there is only one

do that one

for the usertextfield do both is what i did

Flow Fusion 03-18-2004 03:22 PM

Geez I did that too but the images are still now showing. do you have the <div>$awards</div> in your postbit? Or am I missing something still?

Flow Fusion 03-18-2004 05:05 PM

==>Don't forget to change " . TABLE_PREFIX . " to the table prefix that you use. If you don't use a table prefix then just delete it.

What does this mean?

lasto 03-18-2004 05:54 PM

delete it if u dont which i never

believe me if u did use a remove everything inc " "

Flow Fusion 03-18-2004 05:56 PM

OK I got it thanks alot. I went back over everything and it worked! Your last step is what did it.

Flow Fusion 03-18-2004 06:16 PM

But the images don't show in the awards showcase...geez

Flow Fusion 03-18-2004 06:48 PM

Will this conflict with the arcade hack? I ask cause I see the $awards text in that file.

Flow Fusion 03-20-2004 06:25 AM

Uh oh I see with the release of vBulletin gold this is not compatable. It needs to be modified. This is just great.

tides 03-21-2004 09:56 AM

Quote:

Originally Posted by Flow Fusion
Uh oh I see with the release of vBulletin gold this is not compatable. It needs to be modified. This is just great.

the fact is, this hack will crass vb3 gold and result database error... :(

BarHopper 03-21-2004 07:43 PM

I tried this, and with Gold its completly messes up the forum.

dethfire 03-22-2004 01:33 AM

would it be easy to add a function where you can specify a whole usergroup getting an award?

Flow Fusion 03-22-2004 03:13 PM

I'll try to convert this hack on Thurs. for all of us. It will be my first hack so wish me luck lol.

mtha 03-22-2004 05:16 PM

Quote:

Originally Posted by Flow Fusion
Uh oh I see with the release of vBulletin gold this is not compatable. It needs to be modified. This is just great.

just some small changes, you can compare the old and new file to figure it out.


I just make small changes for gold, it should work fine. (all credit goes to AnimeWebby)

work with 3.0 Gold, 3.0.0, 3.0.1

rstark 03-22-2004 06:40 PM

I'm looking for something similar to this hack. I want to be able to assign a "badge" or picture to several user groups that shows up in the postbit template. Does any know of anything out there that can do this?

Flow Fusion 03-22-2004 08:31 PM

Wow thanks I'll try this tonight. @ rstark I wish I did.

Flow Fusion 03-22-2004 09:14 PM

Well I was abit impatient so I installed the hack and I must say thank you so much. It works perfect and was very easy to install. I just suggest users do the first steps for the in the other file and than add this one after. Thanks again. It only took about 40 min to do.

Flow Fusion 03-24-2004 01:28 PM

Ok I fixed the files into one so all you need to do is download it from here. I don't want to step on anyones toes but no one is helping this thread any longer. I love this hack so much I hope it doesn't offend anyone with what I did.

If any one uses this hack please click the install button to support the author and just use the edited text file. If you can't open it please let me know I will convert it.

lasto 03-24-2004 01:38 PM

Quote:

Originally Posted by Flow Fusion
Ok I fixed the files into one so all you need to do is download it from here. I don't want to step on anyones toes but no one is helping this thread any longer. I love this hack so much I hope it doesn't offend anyone with what I did.

If any one uses this hack please click the install button to support the author and just use the edited text file. If you can't open it please let me know I will convert it.


u get this working on gold then m8 ?

Flow Fusion 03-24-2004 01:41 PM

Yeah I have the arcade and this hack working fine. On 3.0 gold currently.

moley 03-25-2004 06:51 PM

I've installed the vb3 gold version but now get this error

Warning: Invalid argument supplied for foreach() in /home/jay/public_html/forum/forums/includes/functions_showthread.php on line 721

Warning: Cannot modify header information - headers already sent by (output started at /home/jay/public_html/forum/forums/includes/functions_showthread.php:721) in /home/jay/public_html/forum/forums/includes/functions.php on line 2832

any ideas whats wrong and how to fix?

Flow Fusion 03-26-2004 02:25 AM

Did you update user profile? Cause I had that problem as well till I did that.

moley 03-26-2004 09:38 AM

o wait no i didn't I'll give it a try when I get home. Thanks for the help.

tides 03-26-2004 12:44 PM

I found an error in the hack.

In the modification member.php, the hack document fetch an nonexisting template.

You make the hack as fellowing:

==>Find:
PHP Code:

// END CUSTOM PROFILE FIELDS
// ************************* 

==>Add below:
PHP Code:

// AWARDS IN MEMBERINFO
$getawards $DB_site->query("SELECT * FROM " TABLE_PREFIX "award AS award ORDER BY awardid ASC");
$show['awards'] = false;
while (
$useraward $DB_site->fetch_array($getawards))
{
    
$userawardid "award$useraward[awardid]";
    if (!empty(
$userinfo[$userawardid]))
    {
        
$userawardid_desc $userawardid."_desc";
        if (
$userinfo[$userawardid_desc] != '')
        {
            
$useraward[description] = $userinfo[$userawardid_desc];
        }
        
$show['awards'] = true;
        eval(
'$awardsbit .= "' fetch_template('awards_bit') . '";');
    }
}
// END AWARDS IN MEMBERINFO 


moley 03-26-2004 05:39 PM

ok i'm on the last step and a bit confussed by it all. At the end it said make a new template called awards at the start it says make one called AWARDS so when ever I say one it saves over the other .

Edit

Well I didnt do the last one and it seems to work fine now. Just gotta get busy making awards now :banana:

Geographic2 03-28-2004 05:17 PM

Some may prefer this query in awards.php
PHP Code:

$earnawards $DB_site->query("SELECT * FROM " TABLE_PREFIX "award ORDER by name"); 

So it order by name rather than id#, others may not. Just mentioning for those who might not have thought about it.

InfiniteWebby 03-30-2004 06:32 AM

I am extremely sorry that I haven't been able to support this hack lately, I got a new computer about a week ago and am only know gettig it setup just as it is. Thanks to FlowFusion and mtha for all your help.

I will be re-doing the instructions and work out any bugs when I get my localhost vBulletin Gold version setup so please be patient.

Once again SORRY :(

ranger2kxlt 03-31-2004 12:00 AM

Alright, tried to install with HTL, and did all the file edits, upload the last file and click step 6 of 6 and then i get There seems to have been a slight problem with the ..... 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.

any idea how this could happen?
thanks

ranger2kxlt 03-31-2004 12:29 AM

found the main problem...its my funtion.php file...BUT i don't know what part of it messing up...seems as if one of the two codes is the problem, anyone had this???

Flow Fusion 03-31-2004 10:38 PM

Remove the edits to the "members.php" and leave it default should clean that up.

BarHopper 04-01-2004 01:30 PM

I tried to install this a couple of times, and failed. I did the HTL, and did the file eidts. But i got a fatal and parse errors, all over the place. So, i had to re-upload the original files. Also, it never showed up in the post bit. But, i really wnat this hack. Erm...would anyone offer to lend a hand in the file edits?

Flow Fusion 04-03-2004 04:34 AM

Post the error/s?

BarHopper 04-05-2004 07:23 AM

The errors were in all of my file edits and taht created fatal and parse errors. So i had to replace em'.

Flow Fusion 04-06-2004 12:28 PM

Aww come on you couldn't have gotten ALL the files to send an error message. Try a freash install and uplosd the files one at a time and see what it does to your forum. Than test them first. Cause I'm sure the method I posted is accurate cause I did a fresh install to test it out.

dniMTheory 04-09-2004 03:41 PM

So does this work with Gold or not?

willie3wire 04-10-2004 03:08 PM

Yea... Does this work on Gold?

lasto 04-10-2004 03:26 PM

works fine on gold

go ahead and install :)

dniMTheory 04-10-2004 04:08 PM

Does this interfere with the arcade hack? Because they both require you to add the same line of code "global $awards;" in functions_bbcodeparse.php.

I started to install it but the arcade hack is already using a variable named $awards.

lasto 04-10-2004 04:39 PM

Quote:

Originally Posted by dniMTheory
Does this interfere with the arcade hack? Because they both require you to add the same line of code "global $awards;" in functions_bbcodeparse.php.

I started to install it but the arcade hack is already using a variable named $awards.


good thinking but i never installed this when i had the arcade i intalled this before the arcade on me test board.
So not sure if they work togehter but if both use global $awards then ones deffo gona have to be changed if thats the case

I suspect that for every file that has $awards or whatever u could just rename it to $awards1 and it would still work the same

Flow Fusion 04-10-2004 09:23 PM

Yeah they both work fine with both. I have both installed with no problems. I only worry about the store hack now. When they release it.


All times are GMT. The time now is 11:33 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.01571 seconds
  • Memory Usage 1,824KB
  • 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
  • (3)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
  • (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