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)

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...


All times are GMT. The time now is 09:34 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.01425 seconds
  • Memory Usage 1,738KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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