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)

Kumaro 12-01-2001 06:13 PM

I can't find this code in misc.php

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

What do I do?

I am using 2.2.1

VolsReport 12-04-2001 02:19 AM

Can U Give Me A Link To Where Da Instructions are? I have version 2.03...Thanx...

warpeditor 12-04-2001 04:21 AM

Quote:

Originally posted by Nam


I have it works perfectly on my 2.2 board. Note that if you follow instruction as 2.0.3, there is a serious missing error in register.php, and that's the md5 password encrypt missing in 2.2.0. Without md5 in register.php, your members will NOT be able to log back on once they logged out. It took me 2 whole days to firgue it out.

Same problem here. How did you fix this one?

VolsReport 12-04-2001 06:06 PM

Quote:

Originally posted by VolsReport
Can U Give Me A Link To Where Da Instructions are? I have version 2.03...Thanx...
Anybody has a link to instructions for post it here?

Lesane 12-04-2001 06:24 PM

Upload the install_starshack.php into your admin folder and execute it, then you will get your instructions :p

VolsReport 12-04-2001 07:11 PM

I tried to execute it but it comes up an error sayin "ERROR Executing Associated Application Or Association Not Found."
Can any body help? I need Da Instructions...

Nam 12-04-2001 10:18 PM

Quote:

Originally posted by warpeditor


Same problem here. How did you fix this one?

Check this link http://vbulletin.com/forum/showthrea...threadid=32953

Hope it helps,

VolsReport 12-05-2001 06:27 PM

Quote:

Originally posted by VolsReport
I tried to execute it but it comes up an error sayin "ERROR Executing Associated Application Or Association Not Found."
Can any body help? I need Da Instructions...

Hello anybody?

Psychdrone 12-07-2001 12:28 AM

what the hell?


On mine , I uploaded the images and installed it right, but yet, it only show up under, really too, random people??

what the hell is going on??


Heres the link to my board

ochroma.net/forum

please help me guys!:(

macuser 12-07-2001 07:40 AM

I have installed Stars

some of my users who try to register get this error when they submit...

There seems to have been a slight problem with the MacUser.de community! 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.

I received an email:

Subject: vBulletin (forum) Database error!


Database error in vBulletin 2.2.1:

Invalid SQL: INSERT INTO user (userid,username,password,email,styleid,parentemai l,coppauser,homepage,icq,aim,yahoo,signature,admin email,showemail,invisible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotification,receivepm,emailo npm,options,birthday,maxposts,startofweek,ipaddres s,pmpopup,referrerid,nosessionhash,starlevel,stari mg) VALUES (NULL,'freeze','a6008231fa64ff879ecb286a657b6a99', 'eric@macinmotion.com','0','','0','http://','114975541','','','','0','1','0','Member','10076 59894','1','-1','1007659894','1007659894','2','+1','1','1','0', '15','0000-12-9','-1','1','80.128.211.49','0','0','1','1','star1','0' )
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Thursday 06th of December 2001 06:31:34 PM
Script: http://www.macuser.de/forum/forum/register.php
Referer: http://www.macuser.de/forum/register.php

please help me

macuser 12-07-2001 08:27 AM

Changes to
register.php (2)
Step 2 of 2

>>my change

$DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield." parentemail,coppauser,homepage ,icq,aim,yahoo,signature,adminemail,showemail,invi sible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion,receivepm,emailonpm,options,birthday,maxposts, startofweek,ipaddress,pmpopup, referrerid,nosessionhash,starlevel,starimg) VALUES (NULL,'".addslashes(htmlspecialchars($username))." ','".addslashes(md5($password) )."','".addslashes(htmlspecialchars($email))."',". $newstyleval."'".addslashes(ht mlspecialchars($parentemail))."','$coppauser','".a ddslashes(htmlspecialchars($ho mepage))."','".addslashes(htmlspecialchars($icq)). "','".addslashes(htmlspecialch ars($aim))."','".addslashes(htmlspecialchars($yaho o))."','".addslashes($signatur e)."','$adminemail','$showemail','$invisible','".a ddslashes($usertitle)."','".ti me()."','$cookieuser','".addslashes($prunedays)."' ,'".time()."','".time()."','$n ewusergroupid','".addslashes($timezoneoffset)."',' $emailnotification','$receivep m','$emailonpm','$options','".addslashes($birthday )."','".addslashes($umaxposts) ."','".addslashes($startofweek)."','".addslashes($ ipaddress)."','$pmpopup','".ad dslashes($testreferrerid['userid'])."','$nosessionhash','$userstarlvl','$userstarimg ','$avatarid')");

macuser 12-07-2001 09:15 AM

solved it and everything works fine currently
I changed to this:

// Stars Hack
$DB_site->query("INSERT INTO user (userid,username,password,email,".$newstylefield." parentemail,coppauser,homepage ,icq,aim,yahoo,signature,adminemail,showemail,invi sible,usertitle,joindate,cooki euser,daysprune,lastvisit,lastactivity,usergroupid ,timezoneoffset,emailnotificat ion,receivepm,emailonpm,options,birthday,maxposts, startofweek,ipaddress,pmpopup, referrerid,nosessionhash,starlevel,starimg) VALUES (NULL,'".addslashes(htmlspecialchars($username))." ','".addslashes(md5($password) )."','".addslashes(htmlspecialchars($email))."',". $newstyleval."'".addslashes(ht mlspecialchars($parentemail))."','$coppauser','".a ddslashes(htmlspecialchars($ho mepage))."','".addslashes(htmlspecialchars($icq)). "','".addslashes(htmlspecialch ars($aim))."','".addslashes(htmlspecialchars($yaho o))."','".addslashes($signatur e)."','$adminemail','$showemail','$invisible','".a ddslashes($usertitle)."','".ti me()."','$cookieuser','".addslashes($prunedays)."' ,'".time()."','".time()."','$n ewusergroupid','".addslashes($timezoneoffset)."',' $emailnotification','$receivep m','$emailonpm','$options','".addslashes($birthday )."','".addslashes($umaxposts) ."','".addslashes($startofweek)."','".addslashes($ ipaddress)."','$pmpopup','".ad dslashes($testreferrerid['userid'])."','$nosessionhash','$userstarlvl','$userstarimg ')");
// Stars Hack End

HellMind 12-07-2001 05:58 PM

this hack doens work for vb 2.2.1

i have to modified a few thing but doesnt work yet

isnt show the starts

i look the postbit and it is fine i think

what can i do?

$post[stars] are empty

i think i do bad the misc change beacuse i dont found "user info update"

or something like that

and update the file or put 2 file for 2.2 and 2.0

bbaddons 12-11-2001 09:40 PM

I am running vBulletin 2.2.1 and it works fine for my board.
The only thing I saw on the installation was that if the stars
were not in the forum directory specified I had to edit
showthread.php (I never had to touch that file - you have to
edit admin/functions.php and stars.php).

But I have it working perfectly fine on my board right now

HellMind 12-11-2001 10:24 PM

i dont know what are you talking about :(

bbaddons 12-11-2001 10:38 PM

Did you get it installed (the stars hack)?

I was saying that it is working fine on my board
and I am running vB 2.2.1 and nothing is going
wrong or anything, everything is running perfect.

HellMind 12-12-2001 12:11 AM

read my first post

i say isnt show any starts but all work perfectly but dont show anything

bbaddons 12-12-2001 12:32 AM

What is the directory that you have the 'star' images in?
Do you have them in /forums/stars?

If you have you stars in another directory other
than /forums/stars/ follow the below instructions:

(This is what I did on my board - the stars were not
appearing on my board until after I did this)

1. Look for (in stars.php):

../images/stars/$star[starimg].gif\

and change it to

path/to/images/stars/$star[starimg].gif\

2. Look for (in admin/functions.php)

../images/stars/$star[starimg].gif\

and change it to

path/to/images/stars/$star[starimg].gif\

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

Backing up would be helpful as this is what I did on my forums

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

I hope this helps you out HellMind - Let me know

HellMind 12-12-2001 03:06 PM

ty
but thata isnt my problem :(

Logo 12-12-2001 06:10 PM

can anyone post the final release for VB2.2.1 ??

Sorry but this one is a megathread.. it´s very hard to concentrate reading 20 sites...

Dakota 12-13-2001 07:26 AM

What do I need to do in the admin/index file?

HellMind 12-13-2001 11:34 AM

this hack is beta for 2.2.1 :(

Wally Hartshorn 01-09-2002 01:58 PM

Am I correct that Stars doesn't really work with vB 2.2.1? Are there any plans to release an update anytime soon?

Jawelin 01-09-2002 05:12 PM

Please correct me if wrong, but
the prefix [vB v2.2.1] before an hack release doesn't mean IT WORKS with that version ?

Could any .org moderator place a definitive word about this annoying thread ?
I mean also other hacks with conflicting authors or copyrighters and the war of the compatibility versions

Thanks a lot.

Wolf42 01-10-2002 02:41 PM

I am using the Starhack 0.2.0 (german) on my vB 2.2.1 with no probs.

The Hack is still for vB 2.0.3, for 2.2.1 I had to change some "$DB_site->query"-entries, couse in 2.2.1 it is e.g. md5($password) and NOT $password (this will write the password in plain text into the user-table). Also the $avatarid is still missing.

But after some testing I got it. ;)

Auf gut deutsch, ich habe diesen bzw. eine Vorversion dieses Hacks zum laufen gebracht. Die Installationsanleitung darf man leider nicht 1:1 ?bernehmen.

SaintDog 01-10-2002 06:31 PM

Works just fine on my test board, I did not have to change anything except some admin options because the coding that makes that table headers is not the same from 2.0.3 to 2.2.1.

Other from modifying links, I did not have to modify anything else and it is working fine, it is about to go on my main board when my site opens up.

Thomas P 01-13-2002 05:24 PM

Quote:

Originally posted by Logo
can anyone post the final release for VB2.2.1 ??

Sorry but this one is a megathread.. it?s very hard to concentrate reading 20 sites...

Have to agree here,
am upgrading to 2.2.1 and it's getting a pain...

Whatever - the following has changed in 2.2.0/2.2.1:

1. register.php | step 2
Nam and Wolf42 are right (thanks), serious change here:
https://vborg.vbsupport.ru/showthrea...068#post200068

I recommend not to delete the old db string, but to change the bits which tube has added to reflect the changes (2 or 3 strings).

2. admin/index
damicatz has the solution to this one:
https://vborg.vbsupport.ru/showthrea...071#post204071

3. admin/misc.php (Update User's Titles)
You can look for Update User's Titles and replace the line with

maketableheader("Update User's Titles - updates user titles and stars","",0);

or just add something like updates user titles and stars, which is only cosmetics and not important at all (!)

4. usergroup.php | step 2
$cangetattachment seems to be new in 2.2.0 or 2.2.1, so change the db-strings as mentioned above - with care ;)
Just add the 2 or 3 missing bits to the strings which are there, don't just exchange them...

Good luck,
Worked for me this way in 2.2.1.
And again: Adding manually the bits of tube's hack to the strings you find is a clean an somewhat simple method.

cu,
-Tom

Rapclick 01-16-2002 12:45 AM

ok im havin just a few small problems.....

error in Register.php and Newthread.php

could you please repost the Codes here cuz im confused about who ta believe i keep getting errors...please help as soon as possible

:confused:

Rapclick 01-16-2002 07:22 PM

anybody ?? :confused:

Rapclick 01-17-2002 07:58 PM

when users go to register or post a new thread...it gives them this error below in quotes....althoug it still lets them perform these actions when they logout it doesnt let them log back in....i am running Vb 2.2.1 and iv tried all the above solutions and none work...please help me my site needs to grow

Quote:

// Stars Hack $usergstars=$DB_site->query_first("SELECT starlevel,starimg FROM usergroup WHERE usergroupid='$newusergroupid'"); if ($usergstars[starlevel]=="") { $getstars=$DB_site->query_first("SELECT starlevel,starimg FROM stars WHERE minposts<=$bbuserinfo[posts]+1 ORDER BY minposts LIMIT 1"); $userstarlvl=$getstars[starlevel]; $userstarimg=$getstars[starimg]; } else { $userstarlvl=$usergstars[starlevel]; $userstarimg=$usergstars[starimg]; } // Stars Hack End

Rapclick 01-18-2002 07:18 PM

i am sorry for replying so many times but i really need someones help users at my website cannot log backin and are recievign errors... :(

Chris 01-24-2002 01:41 PM

Excuse for my ignorance, but what in the heck does this hack do? I've read through page after page in this thread and didn't really see a description of what this hack does.

I may have well missed it, and if so, I apologize, but I want to know what it does. There seems to be quite a bit of interest in it.

Wolf42 01-24-2002 01:48 PM

Quote:

Originally posted by Chris
Excuse for my ignorance, but what in the heck does this hack do? I've read through page after page in this thread and didn't really see a description of what this hack does.

I may have well missed it, and if so, I apologize, but I want to know what it does. There seems to be quite a bit of interest in it.

It is genating stars dependig on the number of postings.

Chris 01-24-2002 01:50 PM

Ahhhh...okay thanks Wolf! I figured it was something along those lines, but wasn't sure :)

Appreciate it!

Rcooper 01-28-2002 12:04 AM

tubedogg, is this updated for 2.2.1? I can;t seem to find the code to change in index.php?

Massiel 02-12-2002 01:27 AM

Hi, I am going to be trying to install this hack on my forums. I previously used UBB and had a star hack there.

This of course is quite different, so I am having some enquiries.

I have 8 user titles in my forums. I would then need 8 different color stars, one for each, one for the mods and one for the administrator. I notice the hack only has 2 stars with it. Would it work to add more then 2, if so, where are they added, does it need to be modified, and if so, how?

I am new at this but I just love this hack and if I had to choose one hack out of all the hundreds out there, this would be the one. Please help me out!

It just looks so complicated, it asks to modify all those files yet there is an installer to upload? I don't see any explanations on what to edit, or does this become obvious once you start the installation?

Massiel 02-17-2002 06:30 AM

Well I tried doing it and run into some problems, here they are, somebody please help me!

It says to find this in admin/index.php

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

I looked everywhere, many times, all I can find close to that is:

<table width="100%" border="0" cellspacing="0" cellpadding="<?php echo iif($cpnavjs,2,5); ?>" id="navtable">

Why can't I find it? I see others had no trouble installing this hack...

Now the other one is at misc.php, says to find this:

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

This is all there is there:

// ###################### Start user choices #######################
if ($action=="chooser") {

doformheader("misc","updateuser");
maketableheader("Update User's Titles","",0);
makeinputcode("Number of users to do per cycle: ","perpage","1000");
doformfooter("Update");

doformheader("misc", "updateposts");
maketableheader("Update User's Post Counts</b> - does not add non-posting forums to total. (This will recalculate all of your user's post counts based on their CURRENT posts in the database. Do not run this if you have pruned posts or manually changed post counts and you wish to maintain their current counts.)<b>", "", 0);
makeinputcode("Number of users to do per cycle: ","perpage","1000");
doformfooter("Update");

doformheader("misc","updateforum");
maketableheader("Update Forums Info</b> - update forum post counts<b>","",0);
makeinputcode("Number of forums to do per cycle: ","perpage","100");
doformfooter("Update");

doformheader("misc","updatethread");
maketableheader("Update Thread Info</b> - update thread post counts, original posters, last post date, attachment totals<b>","",0);
makeinputcode("Number of threads to do per cycle: ","perpage","2000");
doformfooter("Update");

doformheader("misc","buildsearchindex");
maketableheader("Rebuild search index</b> - (very intensive, but rarely needed)<b>","",0);
makeinputcode("Number of threads to do per cycle: ","perpage",100);
makeinputcode("Thread number to start at: ","startat",0);
makeinputcode("Total number of threads to process: <BR>(0 for unlimited)","doprocess",0);
makeyesnocode("Include automatic JavaScript<BR>redirect to next page?","autoredirect",1);
echo "<tr class='".getrowbg()."'><td colspan=2><p><i>If you are reindexing, you may want to empty the indexes.</i> <a href=\"misc.php?action=emptyindex\"><b>Click Here to do so!</b></a></td></tr>";
doformfooter("Re-index");

doformheader("misc","removedupe");

maketableheader("Remove dupe threads</b> - (relatively intensive, but useful after importing posts)<b>","",0);
makeinputcode("Number of threads to do per cycle: ","perpage","500");
doformfooter("Remove");
}

cpfooter();
?>

Any ideas of what is going on? Please help! :(

Massiel 02-17-2002 11:37 AM

Persistence pays off, please ignore my msg, I figured it out! Thanks !

Rachael 03-02-2002 02:34 PM

Massiel

I am having the same problem. What was your solution? Or can anyone else help?

isoking 03-02-2002 07:52 PM

Just to help u all. here is a little change i made myself....

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

And Replace With:
<!-- 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 -->

IGNORE THIS ABOVE.. USE WHATS BELOW
****************************

Find In Admin/index.php:

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

Add Below that:

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


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