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)

VAN 09-12-2001 12:24 AM

Quote:

Originally posted by [VbbFr]Elie
Hy ... May be some one talk about it before but i'm to lazy to read :)


Well theres a surefire way to guarantee your post goes unanswered. :rolleyes:

::sigh::

You, as administrator will add the actual star images and define when they appear (after x number of posts)

[VbbFr]Elie 09-12-2001 12:33 AM

OK ...

I undestood :)

Thanks You :)

Buu 09-12-2001 08:33 PM

Quote:

Parse error: parse error in /home/sites/site6/web/newreply.php on line 476
I installed it with you're installer instrcutions checked it three times but can't seem to find the probleem.

The Problem is on the last Line of newreply.php does ne1 has this too and is it fix-able !

My Newreply is modfied alot but i can't seem to get the parse error out does ne1 has a suggestion ?

tubedogg 09-13-2001 08:47 AM

OK I've fixed all the installer problems.

Please reinstall using the newest instructions (they can be obtained from the first post in this thread) and if you still have problems then, please repost.

Thank you and sorry for the inconvenience.

VAN 09-13-2001 09:04 PM

Tubedogg-

I just ran the un-installer (wanted a fresh start) and I am still missing all of my "profile" icons in the thread displays. I am baffled why this has happened, since no changes were made which affect the $post[profile] variable in the postbit template.

(the $post[profile] variable is still there, btw)

Any ideas?

LuBi 09-13-2001 09:07 PM

I started fresh again, installed this hack. Now when I post a thread in a forum. I get credit for the post, the forum gets credit for the thred. Yet when I go back ot the thread or something in the forum it's not there.

TuPPerWaR 09-13-2001 10:44 PM

Great hack.. can't wait till it works, but I have some problems!

This is coming on the mainpage (Boardhome):

Warning: Cannot add header information - headers already sent by (output started at c:\http\www\vvb\admin\functions.php:2109) in c:\http\www\vvb\admin\functions.php on line 1466

and I get these when I'm trying to connect to the admin CP:

Warning: Cannot add header information - headers already sent by (output started at c:\http\www\vvb\admin\functions.php:2109) in c:\http\www\vvb\admin\functions.php on line 1466

Warning: Cannot add header information - headers already sent by (output started at c:\http\www\vvb\admin\functions.php:2109) in c:\http\www\vvb\admin\functions.php on line 1466

Warning: Cannot add header information - headers already sent by (output started at c:\http\www\vvb\admin\functions.php:2109) in c:\http\www\vvb\admin\global.php on line 133

Warning: Cannot add header information - headers already sent by (output started at c:\http\www\vvb\admin\functions.php:2109) in c:\http\www\vvb\admin\global.php on line 159

Does anybody know what I can do about it?
PLEASE!!!

tubedogg 09-14-2001 06:41 AM

Van: Do you find this line anywhere in functions.php?
Code:

                eval("\$post[profile] = \"".gettemplate("postbit_profile")."\";");
TuPPerWaR: Please enter your license information in your profile. See the link in my sig for more info. Thanks! :)

LuBi: Seeing as how my hack touches neither the thread or post tables, nor the forumdisplay.php file, I fail to see how it could possibly produce that effect. Not saying it's not happening, but if it is, something else is wrong.

Goldfinger 09-14-2001 07:27 AM

Tupparwar: What you might be using a version of vbulletin that doesnt support the stars hack.

LuBi 09-14-2001 09:36 AM

Well I was getting those problems with a fresh install of the baord. It wa the first and only hack I had installed at the time.

VAN 09-15-2001 07:10 AM

Quote:

Originally posted by tubedogg
Van: Do you find this line anywhere in functions.php?
Code:

                eval("\$post[profile] = \"".gettemplate("postbit_profile")."\";");

Ahhhh. Evidently when I pasted the stars code in there, the bottom comment line ended up in front of that line. Such a simple fix, yet it vexed me for hours. Thanks for sending me in the right direction, T-Dogg.

NUTNDUN 09-15-2001 04:11 PM

Hey Tubedogg,
I read through all the posts and I have everything installed correctly as far as not having any errors in code and I have my options in the admin cp, and the lines are added to the functions.php file but I still can't get the stars to show, as of now I only have the stars setup for normal registered users in the amount of posts that they make. Hopefully someone can help me with this. Thanks

Update;
I now have at least the member stars working now but it only works for newly registered members after the hack, even if I update the user titles on the counter, I still can't get the stars to show for the administrator even though it has the space under the user name for the stars, which I'm guessing is from the postbit template, hopefully someone can help me out with this so I can have it working, this mod rocks.

Another update,
The stars hack rocks, I found that somehow my admin/misc.php ended up in the root directory and therefor not letting the stars work, so I got that back in place and everything works like a charm, and then I tried the faq and tada figured out that I needed the misc.php file in the root directory so I copied the one from my backup and all is well, good job tubedogg

Chandler 09-16-2001 05:03 PM

At the installer, it says..


admin/functions.php

Step 1 of 1 find:


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

and Replace with etc,

I cannot find this code in the Functions.php, i have looked for hours.. word by word! I can't find this code, so I cannot add the code below it for the stars to work :mad:

Please Help..


Chandler

Blackfire 09-24-2001 08:34 AM

Hi,
i have installed the stars hack it seems to work bud when there comes a new registration on the board now he gets the msg

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

The problem is that the user CAN login bud i cannot find his name in the users list in cp. so i cannot remove him or edit his account on the board.
What or where can i remove that user account so that the person re-register him again.

THX

tubedogg 09-24-2001 09:55 AM

Chandler: you will need to upgrade to 2.0.3 to use this hack. Also please enter your license information in your profile. Thanks!

Blackfire: Please enter your license information in your profile. Thanks!

Chrysalis 09-30-2001 09:46 AM

hack is installed i get no error stars in cp works but i dont see any stars in the threads.

tubedogg 09-30-2001 02:24 PM

Chrysalis, please enter your license information in your profile. See the link in my sig for more info. Thanks!

rebby 10-01-2001 03:57 AM

this works slick... :D

now i just gotta find some good stars ;)

hacker 10-01-2001 05:37 AM

Works like a charm. Need green stars now. Got to find them....

YourHostSucks 10-01-2001 08:00 AM

A long install, but it works ;)

Thanks....

nuno 10-01-2001 10:28 AM

hey mADmAX`

http://www.dssmafiaforums.com/forums/index.php

why dont you have copyright info at your board :confused:

hacker 10-01-2001 01:15 PM

The stars appear, but there is still the missing Title underneath $[userprofile]. Anyone knows the code to insert it between $[userprofile] and the star?

Quote:

Originally posted by AJR
Hey Tubedog... very nice hack! I installed this a few weeks ago and everything went off without a hitch!

Here's something you may want to update in your stars hack distribution...Show stars on announcements page. I'm using v2.0.3 but should work on v2.0.x

Open announcement.php (NOT admin/announcement.php)

find:
PHP Code:

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

Below it add:
PHP Code:

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


In announcebit template add $post[stars] where you want the stars to appear.


That's it! Now the stars of those who put up announcements will show under their usertitle when viewing the announcement.


YourHostSucks 10-01-2001 04:01 PM

Not sure what you are talking about?

Stars do not show up in profiles...
Do you have a link to what you are talking about?
But thier title in the profile is were it says
Status: it has their title and avatar.

hacker 10-01-2001 10:36 PM

If you click on any post, you will see the stars and the title. However, for Announcements, there is no Title and Stars. I have implemented the hack by AJR to add the stars, but now need to make it look like the normal post with the Title.

YourHostSucks 10-02-2001 12:38 AM

So you want the stars and title to show up in the announcements?


I took a different approach to this, and removed all the user details from the announcements..

EX: http://forums.yourhostsucks.com/anno...hp?&forumid=14

So I would not be able to test how to add the stars/tiles, as I have removed all information.. :(

Sounds like a nice feature/edit for people to have,
if they want it. Maybe someone else can help you with this..

Good Luck!

hacker 10-02-2001 12:42 AM

Nice implementation. I got the stars working, now I need is the Title under the USerName.

White Chocobo 10-02-2001 11:07 PM

Umm...I'm getting this error message in my usergroup.php file.

Parse error: parse error in /home/garylaw/public_html/forums/admin/usergroup.php3 on line 228

That's the exact line the words cpfooter(); are on.

Mike Gaidin 10-04-2001 02:29 AM

Installed, and it works great! Good job!

YourHostSucks 10-04-2001 02:41 AM

Quote:

Originally posted by 12ways
My HTML Result <br><br> under usertitle

Because
$post[stars]= <-- Empty

What's wrong?


Did you add the stars through the admin cp?

tubedogg 10-04-2001 05:03 AM

12ways: you will need to enter your license information in your profile. See the link in my sig for more info. Thanks!

YourHostSucks 10-04-2001 05:58 AM

Did you do the "Update counters"....

tubedogg 10-04-2001 06:26 PM

12ways: You may not post full vBulletin files. That is strictly against the license agreement. You will also not receive any support from me until you enter your license information into your profile.

AnimeR 10-08-2001 02:55 AM

is there a version of this hack that works for 2.0.0 ??? this is the exact hack i am looking for, if there isint a version that works for 2.0.0 can somebody PLEASE make me one?

Thanks a lot

tubedogg 10-08-2001 03:44 AM

AnimeR, please enter your license information in your profile. See the link in my sig for more info. Thanks!

You should upgrade to 2.0.3 as there is an important security fix in it.

AnimeR 10-08-2001 04:17 AM

I would enter my license number, but to be honest I dont haveit, somebody installed my VBB for me >_<

tubedogg 10-08-2001 04:22 AM

Then you are using the program illegally and need to delete it off your server.

magistr 10-09-2001 12:11 PM

PEOPLE!

ok
i installed this hack

BUT FILES NOT REPLACE AND CHANGES AuTOMATICALY!!!

All scripts for install auto not replace and chandges files

i tested in local server///

help me pleeze

tubedogg 10-10-2001 05:03 AM

Please enter your license information in your profile. See the link in my sig for more info. Thanks!

Bill Burns 10-17-2001 07:35 AM

sorry double post!

Bill Burns 10-17-2001 07:35 AM

man I typed a long message and it didn't post. grrrrrrrrrrr I read through 16 pages of messages on a 48k dialup. NOBODY asked this quesion:

I have version 2.0.3. and when I try and change the admin/functions.php, I get this error:

Parse error: parse error in /home/lyricalb/public_html/forum/admin/functions.php on line 793

Fatal error: Call to undefined function: vbdate() in /home/lyricalb/public_html/forum/admin/sessions.php on line 358


I have tried everything and can't get it to work. I even verified character by character the code I was pasting in there.
Quote:

// Stars Hack
$sli = 0;
while ($sli < $post[starlevel]) {
$post[stars] .= "<img src=\"images/stars/$post[starimg].gif\" border=\"0\">";
++$sli;
}
// Stars Hack End
I don't have a clue what it could be.......

Please help!


All times are GMT. The time now is 05:11 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.04082 seconds
  • Memory Usage 1,830KB
  • 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
  • (2)bbcode_php_printable
  • (6)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