Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 2.x > vBulletin 2.x Full Releases

Reply
 
Thread Tools
Details »»

Version: , by tubedogg tubedogg is offline
Developer Last Online: Dec 2016 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 06-02-2001 Last Update: Never Installs: 161
 
No support by the author.

Thanks to Bane there has been a complete reworking of the installation/instructions for this hack. It is now up to date for 2.0.3 and the installer runs exactly like the vB install/upgrade scripts do.

There is no demo as I don't currently use stars on my board.

For version: 2.0.3

Files needed: stars.php

Files to edit: newthread.php, newreply.php, admin/misc.php, admin/index.php, admin/usergroup.php, register.php and possibly stars.php

Templates to edit: postbit

Instructions: Upload install_starshack.php and stars.php to your admin directory. Go to example.com/admin/install_starshack.php and login, then follow the on-screen instructions.

Upgrade information: If you have previously installed the stars hack, make sure you choose the "upgrade" option on the screen mentioned in the instructions. If you have previously installed this version (using install_starshack.php), you MUST STILL use the upgrade option even if you are reinstalling or you will get database errors.

This hack is © 2001 Kevin Schumacher and may not be redistributed, modified or not, without prior permission.

Please DO NOT contact me via AIM, ICQ, PM, or email about this hack. Post your question/problem here and I will try to help you.

Feedback appreciated.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #222  
Old 10-01-2001, 10:28 AM
nuno's Avatar
nuno nuno is offline
 
Join Date: Oct 2001
Posts: 469
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

hey mADmAX`

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

why dont you have copyright info at your board
Reply With Quote
  #223  
Old 10-01-2001, 01:15 PM
hacker
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #224  
Old 10-01-2001, 04:01 PM
YourHostSucks
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #225  
Old 10-01-2001, 10:36 PM
hacker
Guest
 
Posts: n/a
Default

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.
Reply With Quote
  #226  
Old 10-02-2001, 12:38 AM
YourHostSucks
Guest
 
Posts: n/a
Default

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!
Reply With Quote
  #227  
Old 10-02-2001, 12:42 AM
hacker
Guest
 
Posts: n/a
Default

Nice implementation. I got the stars working, now I need is the Title under the USerName.
Reply With Quote
  #228  
Old 10-02-2001, 11:07 PM
White Chocobo White Chocobo is offline
 
Join Date: Oct 2001
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #229  
Old 10-04-2001, 02:29 AM
Mike Gaidin's Avatar
Mike Gaidin Mike Gaidin is offline
 
Join Date: Oct 2001
Location: Michigan
Posts: 247
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Installed, and it works great! Good job!
Reply With Quote
  #230  
Old 10-04-2001, 02:41 AM
YourHostSucks
Guest
 
Posts: n/a
Default

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?
Reply With Quote
  #231  
Old 10-04-2001, 05:03 AM
tubedogg's Avatar
tubedogg tubedogg is offline
 
Join Date: Oct 2001
Location: Medina, OH
Posts: 785
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:00 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.13107 seconds
  • Memory Usage 2,297KB
  • Queries Executed 25 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (2)bbcode_php
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (5)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete