Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #31  
Old 03-09-2001, 06:35 PM
Guest
 
Posts: n/a
Default

How can I add in the number of logged-in users at the bottom as well as who made the last post at the end of the replies/views section?

-Rob
Reply With Quote
  #32  
Old 03-12-2001, 02:38 PM
Guest
 
Posts: n/a
Default

I am working on making my home page completly templated and i will be adding a lot of this stuff to it. If anyone want to see it i will see if i can get it portalable.
Reply With Quote
  #33  
Old 03-13-2001, 01:27 AM
Guest
 
Posts: n/a
Default

Grrr...

I've been trying to use this code for the past WEEK.. I can't get it to work. I'm a VERY BEGINNER PHP user... So.. that's probably why... this is what I would do.

I would copy and paste the whole script into the HTML CODE of dreamweaver... Then I'd fill in all these..
("global.php") - I point this to my global.php file

$db_link = @mysql_pconnect
("$dbservername",) - not sure what goes here
"$dbusername", ) - I put in my vB database user name
"$dbpassword"); - I put in my vB database password

mysql_select_db("$dbname"); - I put in my vB database name'

what else am I missing? am i using the right method in incorp. this in my html? Please help. Thanks

-esoin
Reply With Quote
  #34  
Old 03-13-2001, 07:07 AM
Guest
 
Posts: n/a
Default

NO!
Cut ans paster that into notepad and name it popular.php.

You then call it into your page using ssi

ICQ me and I will show you how
Chris
Reply With Quote
  #35  
Old 03-13-2001, 08:03 AM
Guest
 
Posts: n/a
Default

Hey..
cool.. I have AIMer... i looked at your profile and saw you haev a AIMer SN... sgtsling

So.. hopefully i'll bump into you that way.. Thanks for the help!

-esoin

PS: my SN in AIMER is esoin
Reply With Quote
  #36  
Old 03-13-2001, 09:16 AM
Guest
 
Posts: n/a
Default

I changed the PHP file to this so far. Now I want to let him use this color: #333366 for the table backround and this color: #FF6600 as the boarder color. I don´t really know where and how to put. This is what I already modified:
Attached Files
File Type: txt popular.php.txt (1.8 KB, 27 views)
Reply With Quote
  #37  
Old 03-13-2001, 03:01 PM
Guest
 
Posts: n/a
Default

Great Hack!
I'm attempting to customize it and I have two questions:

1. How can you automatically alternate the row colors that contain the subject heading?

2. Is there a way to use vb codes in popular.php such as <normalfont>, {tableheadbgcolor}, etc.?

Thanks
Reply With Quote
  #38  
Old 03-13-2001, 09:27 PM
Guest
 
Posts: n/a
Default

Works just fine

But how do I exclude private forums from this?
Reply With Quote
  #39  
Old 03-14-2001, 02:36 PM
Guest
 
Posts: n/a
Default

Guys i put this on my forum but i was wondering if there is a similar hack that shows the last 10 threads that have been replied to. I cant figure out how to do that.

regards,

~veedee
Reply With Quote
  #40  
Old 03-14-2001, 10:40 PM
Guest
 
Posts: n/a
Default

same here. I would like to know how to make it show the latest 10 post... thanks

-esoin
Reply With Quote
Reply


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 12:09 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.04636 seconds
  • Memory Usage 2,237KB
  • Queries Executed 12 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (10)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • postbit_attachment
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete