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)

Dolamite 07-08-2001 01:03 AM

just fyi though tube.... that IS the file from the ADMIN dir.....

that seems to be the problem...... those 2 files are the same... i think... same size anyhow

but if i edit the original (from 2.0.1 realease..... it dosnt work)

eger 07-10-2001 10:25 PM

is there any particular order to do the steps? i run the mysql.php , then update the users and stars. no luck, stars don't show. when i add a new user stars, it shows the star pic, so i know the images are in the right place, and i edited all the code correctly (since i copied the edited files from a board where the stars DID work). so i dont know whats up, any suggestions?

Oliver 07-11-2001 02:45 PM

The old thread is still open and hence i dl`ed the older version. Someone should delete that.

Anywayz, im about to upgrade to latest version of stars, one question, in the readme it says not to run mysql.php if you have installed a previous version of stars (v0.0.2 in my case), how then can the modified code on various pages insert or update starimg into the usergroup table when starimg doesn`t exist?

Regards
oli

oh, vB2.0.0 by the way

Shadow_Xj5 07-11-2001 11:02 PM

Quote:

Originally posted by we78
installed and all is fine got no errors but still see no starts
:confused: :confused:
vbb: 2.0.1

I get the same problem :/ I have installed the hack with no code errors, I have upgraded the database with no errors, I have set the star 'ladder' and have given cetain goups a set amount of stars, the star.gif is loaded in the CP so they are in the right place, I have also updated all the counters.

BUT I CANT SEE MY STARS :(

there code is exexcited as i get the extra <br> in the code. but the stars are not shown, any ideas? anyone?!

Vb 2.0.1

ShadowTech 07-12-2001 03:58 AM

I had everything replaced and installed correctly .. and the stars would not show in the post under the user's name. It does show in the control panel tho .. so basically I am having the same problem as this other Shadow dude. (we are NOT the same person btw)

Tidus 07-13-2001 02:23 AM

ok here is my problem:

I changed everything successful but when I try to edit the stars for the user groups I have this error:

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.

This error is shown nearly on everything in the cp

Dakota 07-13-2001 06:12 AM

Shadow did you edit the postbit template? if not, then there is no way the stars will show. It worked fine for me the first time I installed it.

Oliver 07-13-2001 07:58 AM

ATTN: Tubedogg

As per my post above, is there an easy way to upgrade to starsv0.2.0?

I have v0.0.2 installed (due to dl`ing from the old thread.)

Could I just upload the original *.php files, then delete the databasse entries via phpMyAdmin that refer to starlevel?

Help please as whenever i`m in control panel using usergroup.php i get errors. I`ve also had a couple of errors from newthread and newreply, though these dont seem as common.

Whats the best way???

Regards
Oli

Tidus 07-13-2001 01:27 PM

did anyone see my post im getting there is a problem with the database, sorry for the inconvenience. when i go to add star levels or modify them

Shadow_Xj5 07-13-2001 06:53 PM

Dakota:

Yes :( this is what I can't understand, I far as I know I have done everything right, I have deffintly edited the postbit as I get the gap where the star should show, also when I view the soruce

PHP Code:

<td bgcolor="#DFDFDF" width="175" valign="top" nowrap>
    <
a name="post35"></a>
    <
a name="newpost"></a>
    <
font face="verdana, arial, helvetica" size="2" ><b>The_Gringo</b></font><br>
    <
font face="verdana,arial,helvetica" size="1" >Junior Member</font><br><!--Stars should show here!--><br>
    <
img src="avatar.php?userid=5&dateline=994983979" border="0" alt=""><p>
    <
font face="verdana,arial,helvetica" size="1" >RegisteredJul 2001<br>
    
Location: <br>
    
Posts7</font></td

I even get the extra <br> that the star code produces, (I added the comment to highlight the location)

:( This is really getting me down, as we had them on our UBB and everyone want them on this, which I told them I could do :(

Dont suprose anyone as the files ? (I have no other hacks installed)

Plz email them to me here

This souldn't effect the lience agreement as I own it anyway :confused:

Thanks.

tubedogg 07-14-2001 07:02 PM

Shadow_Xj5: Did you run Update Counters > Users?

Tidus: What is the actual error you are getting? (View the source of the page and it should also be emailed to you).

Oliver: Download the file attached to this post, rename it to mysqlupgrade.php and run it from your admin directory. Then do the rest of the instructions - do not run mysql.php.

tubedogg 07-14-2001 07:03 PM

Hmm...here's the file.

Shadow_Xj5 07-14-2001 08:49 PM

Yep, serveral times :(

hum, maybe I should just restore everything and then try to install it again?

thanks.

Oliver 07-16-2001 07:53 AM

Cheers tubedogg. Shall sort this out this a.m.

Have you managed to delete the first thread for stars yet?

Regards
oli

Kengan 07-20-2001 01:42 AM

I try to add on my register.php. it show me a error ... any idea? :(

J Dot Blk 07-26-2001 06:10 PM

any one knwos whats wrong i installed the stars hack seemed like everything was perfect but then i got a message saying

"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." do any one know whats wrong???

J Dot Blk 07-26-2001 10:31 PM

nevermind i fixed it

ThomasP 07-28-2001 03:12 PM

Hi,

got PHP4 installed from my provider and it works now - though it would be good to mention that you need PHP4.
vBulletin works on PHP3 so it's worth mentioning...

But: Now it works - great job!

Attached my stars (small and normal sized).
Here's my setup with the small stars:

http://www.mcseboard.de/forum/images/stars.gif

I know that the number of postings is set a little bit low, but my board just recently opened...

Thanks Tubedogg!
-Tom

Harizz 07-30-2001 04:43 AM

it works good except i cant post a reply but I can post a thread. This is what it says when I want to post a reaply.

Parse error: parse error in /home2/harizz/public_html/newreply.php on line 313

Please help me tube dog cause I really need those stars. thanxx for any help.

Harizz 07-30-2001 05:14 AM

Now it says this, I tried to fix it but now it says this.

Parse error: parse error in /home2/harizz/public_html/newreply.php on line 162

tubedogg if u know the problem please tell me cause I would really appreciate it.
THANXX for stars trick anyways.

snyx 07-31-2001 07:30 PM

tubeboy, I upgraded to 2.0.3 and we got no showthread stuff in it? I can't find ANY lines in this;

****In showthread.php****
**Find
if ($post['receivepm'] and $enablepms==1) {
eval("\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
} else {
$post[pmlink] = "";
}


Ideas?

Thanks,
snyx

Freddie Bingham 07-31-2001 08:18 PM

Second function in functions.php

snyx 07-31-2001 08:24 PM

let me try

snyx 07-31-2001 08:32 PM

it worked, but you guys changed around other code I can't find, ahhhh, to much hassle, I'll to it later :mad:

Harizz 08-01-2001 06:44 PM

Nobody ain't answering my question. Come on TUBEDOGG do u ever check this topic. Shoot I need somebody's help.

Parse error: parse error in /home2/harizz/public_html/newreply.php on line 162

Can anybody fix that. THANXXXX

snyx 08-01-2001 08:41 PM

leave tubedogg alone, he created the hack, its his discretion to want to keep working on it or not.

Pie'oh'pah 08-01-2001 10:43 PM

Quote:

Originally posted by snyx
it worked, but you guys changed around other code I can't find, ahhhh, to much hassle, I'll to it later :mad:
works for me....

Harizz 08-02-2001 05:17 AM

I said tubedogg can u please help me with my stars cause I get this error. Whats there leave him alone. Whats the point then if he made it but cant work for me. Tubedogg made it that's why i am asking him. He is probably the only one who knows that and I cant ask somebody else. I asked TUBEDOGG can u please fix this cause I get this error

Parse error: parse error in /home2/harizz/public_html/newreply.php on line 162

Tubedogg can u please fix the error and do u know whats the problem. thank you.

webhost 08-02-2001 06:57 AM

I read a post earlier, but I really see an answer so I will ask again.
Recently upgraded to 2.0.3 can someone give the correct placement in the showthread.php file, it works with the other files but I am struggling with this file.
Any help would be appreciated/

Thanks

Pie'oh'pah 08-02-2001 07:22 AM

Hi Joey,

instead of showthread.php you need to edit the admin/functions.php !

**Find
PHP Code:

if ($post['receivepm'] and $enablepms==1) {
            eval(
"\$post[pmlink] = \"".gettemplate("postbit_sendpm")."\";");
        } else {
            
$post[pmlink] = "";
        } 

**Right under it, add
PHP Code:

    $sli 0;
    while (
$sli $post[starlevel]) {
      
$post[stars] .= "<img src=\"images/stars/$post[starimg].gif\" border=\"0\">";
      ++
$sli;
    } 

That's it. :D:D

-Alex

Dimitri 08-02-2001 07:50 AM

Thanks. With that little change, the hack works for me on 2.0.3 just fine. :cool:

Pie'oh'pah 08-02-2001 08:48 AM

Glad i could help, even if i only made a little more clearly, what's been already stated by freddy.

I guess, his head was still full of code when he gave his "hint" on where to look for it :D:D:D

-Alex

Mobile 08-02-2001 12:34 PM

Got a problem with register.php, when someone registers they get this error
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.

and i've done the mysql.php file put still get the same problem.

Can someone please help me.
Thanks Mobile

monkeybot 08-02-2001 01:35 PM

it works with function.php modified

Pie'oh'pah 08-02-2001 02:04 PM

Sign hack installed? may be this gives additional workarounds to care of...

Mobile 08-02-2001 03:31 PM

no hacks installed on board m8,
heres my register.php file

Thanks Mobile

<<<attachment removed - you cannot post vBulletin source files>>>

Pie'oh'pah 08-02-2001 06:16 PM

what error exactly do you get via email?
and what version of vB do you use?

Mobile 08-02-2001 06:20 PM

i am using verison 2.0.3 and the error code is
<!-- Database error in vBulletin: Invalid SQL: INSERT INTO userfield (userid,field1,field2,field3,field4) VALUES (,'','','','')
mysql error: You have an error in your SQL syntax near ''','','','')' at line 1
mysql error number: 1064
Date: Thursday 02nd of August 2001 08:45:46 PM
Script: /upload/register.php
Referer: http://127.0.0.1/upload/register.php
-->
Mobile

ThomasP 08-02-2001 07:30 PM

Quote:

Originally posted by Mobile
no hacks installed on board m8,
heres my register.php file
Thanks Mobile

You MUST not post vb sources!
-Tom


edit: Thanks freddie for the hint, works great in 2.0.3

WEBDosser 08-02-2001 08:29 PM

Any chance of getting this to work with 2.0.3 i got down to showthread.php and it's not the same..

Please..


All times are GMT. The time now is 08:41 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.01604 seconds
  • Memory Usage 1,832KB
  • 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
  • (3)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