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)

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!


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