vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   Stars v0.2.3 (https://vborg.vbsupport.ru/showthread.php?t=19081)

Wolf42 07-26-2002 12:31 PM

Quote:

Originally posted by Thewnagchung
here is my functions.php

could someone modify it for me? cus iam so confused why it wont work....

First: You are not allowed to post hole vbulletin-files by license agreement!!! Please remove the attachment!

Secound: I told you here how and where to modify your functions.php.

Toxid 07-29-2002 05:38 PM

Ghet der Hack auch für 2.2.6

Do teh Hack also work at 2.2.6 ( sorry but i cannot speak english, i hope the sentence is quitly correct )

Toxid 07-29-2002 05:38 PM

Ghet der Hack auch für 2.2.6

Do the Hack also work at 2.2.6 ( sorry but i cannot speak english, i hope the sentence is quitly correct )

justsomedude 07-29-2002 07:29 PM

Quote:

Originally posted by Toxid
Ghet der Hack auch f?r 2.2.6

ja bearbeitet diese Kerbe auf geradem Gebrauch 2,2,6 die ?nderungen innen this post Initally I hatte ein Problem, in dem neue Benutzer nicht registrieren konnten. Ich entfernte die ?nderungen an register.php und alles ist fein seit dem gelaufen.

Quote:

Do the Hack also work at 2.2.6 ( sorry but i cannot speak english, i hope the sentence is quitly correct )

yes this hack will work on 2.2.6
just use the modifications in this post

Initally I had a problem where new users could not register. I removed the modifications to register.php and everything has been running fine since.

PSI|Dr-X 08-14-2002 01:03 PM

Fatal error: Call to undefined function: adminlog() in /home/planets/public_html/AdminOnly/forum/admin/stars.php on line 8


I keep getting that error if someone could help out it would be greatly appreciated

btw this is what's on line 8

PHP Code:

adminlog(iif($starid!=1,"star id = $starid","http://www.planetside.info/AdminOnly/forum/images/stars")); 


crazza 09-20-2002 12:41 PM

I've created a VBHacker install file for StarHack 0.2.4

I updated the version because it incorporates several changes for VBulletin 2.2.6 .. and now also works in combination with some other hacks that have added items to several insert and update queries.

Please note that this 'release' does not contain any star images nor the stars.php file. See the original release for those..

It is tested on my own board. It runs 2.2.6 with PMGauge, QuickReplyBox with open/close and several other hacks previously installed.

I Had no trouble whatsoever installing the hack, but still.. make a backup of your database as well as the files affected by this hack.

If you're installing over an older or corrupted version of this hack, please make sure you take extra care with the SQL Queries... see the original Stars Hack 0.2.3 installation for details.

Attached file contains VBHacker.php as well as the StarHack_0.2.4.hack.php file which contains all the changes.

See this thread https://vborg.vbsupport.ru/showthrea...light=vbhacker for more info on VBHacker and VBHackmaker.

UnForums2k 11-20-2002 08:03 AM

hmmm has anyone attempted this hack with 2.2.8 ???

Marcel tha Mast 11-22-2002 08:57 AM

yes and it works!

Savant 12-17-2002 12:57 AM

nice hack, ill give her a try

UnForums2k 01-24-2003 05:20 AM

nice... but if tubedogg or some one else has time i really dont feel like reading through 25 pages of changes and updates.... did it work right out of the zip for you?

Darker Lord 02-05-2003 12:53 AM

Um, when I am installing, when I go to this step:

**Find

maketableheader("Update Users Info</b> - </b>updates user titles<b>","",0);

**and replace with

maketableheader("Update Users Info</b> - </b>updates user titles and stars<b>","",0);

This is in the file Admin/Misc.php

Anyhow, that line can't be found. Please help!

Shadow_NL 02-19-2003 03:31 PM

When I'm editing my files I also need to edit this:

root/newthread.php

Step 2 of 2 find:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");

I couldn't find it, till I noticed that I already changed it with Zajako's RPG hack to:

// Zajako's Rpg hack pay per post
$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."',rpgmoney=rpgmoney +'$moneynewthread' WHERE userid='$bbuserinfo[userid]'");
}
// end zajako's rpg hack pay per post

How can I edit this to the right code which is needed to install this stars hack? I don't want to drop Zajako's RPG hack ofcourse.

Thanks in advance.

Jacko 02-27-2003 08:16 PM

Quote:

Originally posted by Marcel tha Mast
yes and it works!
may i ask how :rolleyes: :cheeky:

Jacko 03-02-2003 05:21 PM

Anyone got this to work on 2.2.9 yet??

if so can they MSN me??

monstergamer 03-12-2003 10:25 PM

i ran the installer and it finesh but idont see any thing

Serge 03-13-2003 01:22 AM

Quote:

Originally posted by Shadow_NL
When I'm editing my files I also need to edit this:

root/newthread.php

Step 2 of 2 find:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");

I couldn't find it, till I noticed that I already changed it with Zajako's RPG hack to:

// Zajako's Rpg hack pay per post
$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."',rpgmoney=rpgmoney +'$moneynewthread' WHERE userid='$bbuserinfo[userid]'");
}
// end zajako's rpg hack pay per post

How can I edit this to the right code which is needed to install this stars hack? I don't want to drop Zajako's RPG hack ofcourse.

Thanks in advance.

Ok well the only thing that you added with Zajako's hack is:

PHP Code:

rpgmoney=rpgmoney+'$moneynewthread' 

If you could post the change you have to make I can give you something to replace with because it is just a matter of finding the differences and makeing it that way.

Shadow_NL 03-17-2003 05:24 PM

Find:

$DB_site->query("UPDATE user SET
".iif ($foruminfo[countposts],"posts=posts+1,","")."
$dotitle"."lastpost='".time()."' WHERE userid='$bbuserinfo[userid]'");
}

CHANGE it to:

// Zajako's Rpg hack pay per post
$rpgadmin = $DB_site->query_first("SELECT * FROM rpgmoneyadmin");
$payme=$rpgadmin[newthread];
$DB_site->query("UPDATE user SET ".iif ($foruminfo[countposts],"posts=posts+1,","")." $dotitle"."lastpost='".time()."',rpgmoney=rpgmoney +'$payme' WHERE userid='$bbuserinfo[userid]'");
}
// end zajako's rpg hack pay per post

catocom2 03-18-2003 04:35 AM

I need a slight bit of help on the index.php.

I installed this hack way back at ver 2.0.0.
It worked fine until I hada hacker crash my database for me. :ermm:
Anyway I'v installed updates up to 2.0.3, and ran the
forum for quite a while without stars, although the old
stars.php, and my star graphics where in place.
(also the database tables were still ok.)
I recently upgraded to 2.3.0, and decided to try this
again.
I did the upgrade, and ther were some slight changes, but I
got it working great.
The only problem I have is I made the new stars catigory
in the index.php, but since it's change so much I can't figure
out how to get the "add" & "modify" catigories under the header.
I uploaded the new stars.php, and if I go directly to it, everything
is in place. I just would like to get to it through the admin cp.

Thanks
This is still a great hack. :banana:

I stuck this in the index ????
Code:

//<!-- Stars Hack -->
maketableheader("User Stars");
makenavoption("Modify","stars.php?action=add","|");
makenavoption("Modify","stars.php?action=modify");
//<!-- Stars Hack End -->


catocom2 03-18-2003 04:46 AM

eh
nevermind I forgot I save this text file...
Got it working. :banana:

Code:

//Stars Hack
makenavoption("Add","stars.php?action=add","<br>");
makenavoption("Modify","stars.php?action=modify","<br>");
makenavselect("User Stars");
//End Stars Hack

Adaption Instructions by damicatz

Thanks Tubedogg and damicatz.

floridaideal 03-18-2003 08:19 AM

Hi all

I am really getting down with this hack, I went by the instructions and have changed all the files and used the modified code but then I started getting errors.

First was my registration, I could not see a way out so I replaced my hacked registration page with the original one. All seems ok and no difference to the hack.....or will it?

Now I just tried to modify a user group and I am getting '
Parse error: parse error, unexpected $ in /home/virtual/site76/fst/var/www/html/forum/admin/usergroup.php on line 308'

I did everything by the book, btw is there a copy of the stars.txt file that I can download so I can have another go and editing the files, the only information was in the installation file which I cant read again without wiping my tables.

Please someone, I am in urgent need of some help, thank you.

catocom2 03-18-2003 01:21 PM

floridaideal,
I'll see if I can help.
First, what vB ver are you using.

floridaideal 03-19-2003 11:05 AM

Thank you very much catocom2

I am running version 2.2.8, the hack seems to still be working ok on my forum but the usergroups and registration didnt work, so I replaced both files with the original files and it seems to work but still not happy about doing that, would rather edit the files to work properly.

Does anyone please have the stars txt file so I can check over the files again please?

Thanks

Stuart

catocom2 03-19-2003 12:45 PM

Here's the install file that I just quick converted for you to html.
It's not pretty, but I think you can read it enough to get the info
that you need.

floridaideal 03-19-2003 01:22 PM

Thanks Catocom2

Thats great, but I just edited usergroups again and still getting this error :

Parse error: parse error, unexpected $ in /home/virtual/site76/fst/var/www/html/forum/admin/usergroup.php on line 239

Just attached my usergroups file, can you please take a look?

Thank you again

Stuart

catocom2 03-19-2003 06:36 PM

There may be another place, and I not sure of the differences
in 2.2.8 and 2.3.0, but..
on line 178 (i think) you might need to add the attachment thing.

where this is.. (close to the end of the line)
PHP Code:

canwhosonlineip=$canwhosonlineip WHERE 

change to..
PHP Code:

canwhosonlineip=$canwhosonlineip,cangetattachment=$cangetattachment WHERE 

I think there may be another place too, Sorry my mem isn't so good.

Where ever you are supposed to change that long line you need to make that change.

floridaideal 03-21-2003 01:10 PM

Thanks again for all your help Catocom2 but unfortunitly that didnt work either :(

Got this error Parse error: parse error, unexpected $ in /home/virtual/site76/fst/var/www/html/forum/admin/usergroup.php on line 239

It wont let me Add | Modify any Usergroups

Its just something out, can't be too much, just can't work it out, spend the last hour looking over it.

Have attached the file again for all those clever VB'ers out there.

Thanks you.

iceman11111 03-26-2003 05:50 PM

I have a problem!

I installed this hack, and did all the changes!

Now when I click Add and fill in all the info and then click submit I get a blank screen.

What did I do wrong?

P.S I am not to good with php, but I am trying :)

iceman11111 03-26-2003 07:12 PM

This is what I am getting!

The page cannot be found
The page you are looking for might have been removed, had its name changed, or is temporarily unavailable.

--------------------------------------------------------------------------------

Please try the following:

If you typed the page address in the Address bar, make sure that it is spelled correctly.

DarkDraco07 05-07-2003 01:08 AM

i installed this and it works perfectly fine. my only problem is that i set admins to 6 start (custom color) and mods to 5 stars (red) and it either shows 2 yellow stars or none at all.

my regular posters get the correct amount of stars based on posts but admins / mods only get 2 yellow stars

DarkDraco07 05-07-2003 01:46 AM

btw, i temporarily changed the amount of stars admins / mods get by editing my users table in my database until someone helps me

Sondawg 07-04-2003 04:03 AM

Column count doesn't match value count at row 1

esfron 07-27-2003 03:17 PM

Is it working with 2.3.0 ?

Gary King 07-27-2003 09:46 PM

[QUOTE]Today at 12:17 PM esfron said this in Post #392
Is it working with 2.3.0 ?

Airs 07-28-2003 12:55 AM

Like Gary said i made it work on vb2.3.0 with the proper modifications.

The Realist 08-20-2003 11:57 AM

Anyone willing to post what changes are needed for 2.3.0

Quote:

07-28-03 at 02:55 AM Airs said this in Post #394
Like Gary said i made it work on vb2.3.0 with the proper modifications.

Bro_Joey_Gowdy 04-25-2004 03:47 AM

Can this be made available for vb3 or is it already implimented in vb3 - if it is then i have not found it ?

catocom2 04-25-2004 01:57 PM

I use the user rank settings. ;) (in vb3)

Photon 05-08-2004 12:34 AM

<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("User Titles"); ?>
</table>
<a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>

add under

<!-- Stars Hack -->
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("User Stars"); ?>
</table>
<a href="stars.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="stars.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>
<!-- Stars Hack End -->

Can someone modify this for 2.3 ??

Photon 05-08-2004 12:52 AM

Quote:

Originally Posted by Photon
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("User Titles"); ?>
</table>
<a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="user.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>

add under

<!-- Stars Hack -->
<tr><td>
<table width="100%" border="0" cellspacing="0" cellpadding="2" id="navtable">
<?php maketableheader("User Stars"); ?>
</table>
<a href="stars.php?s=<?php echo $session[sessionhash]; ?>&action=add"> Add </a> |
<a href="stars.php?s=<?php echo $session[sessionhash]; ?>&action=modify"> Modify </a>
</td></tr>
<!-- Stars Hack End -->


Can someone modify this for 2.3 ??

modified it myself..

makenavoption("Add","usertitle.php?action=add","|" );
makenavoption("Modify","usertitle.php?action=modif y");
makenavselect("User Titles");

under add

// ***
makenavoption("Add","stars.php?action=add","|");
makenavoption("Modify","stars.php?action=modify");
makenavselect("User Stars");
// ***



if you follow the other options (standard) this hack will work on 2.30


All times are GMT. The time now is 03:09 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.01759 seconds
  • Memory Usage 1,841KB
  • 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_code_printable
  • (4)bbcode_php_printable
  • (7)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
  • (39)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