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

Reply
 
Thread Tools
Whos Online w/ Latest Posts Hack v1.0 Details »»
Whos Online w/ Latest Posts Hack v1.0
Version: 1.00, by g-force2k2 g-force2k2 is offline
Developer Last Online: May 2008 Show Printable Version Email this Page

Version: 2.2.x Rating:
Released: 07-02-2002 Last Update: Never Installs: 20
 
No support by the author.

As requested [ Here ] By Neil...

What does this hack do? First off it requires One new template... One php file modification... and Two template modifications... its dipslays a panel along side the whos online that lists the latest current ten posts with the user who posted and the thread...

It also has linkage for including the last twenty posts... sorry i don't have any screenshots and i currently don't have a server so i can't show give you anything to look at... but it was tested by me and my friend... so Enjoy...

Instructions in the file for and yes its a php file but thats just how i write my hacks Enjoy... Feedback Suggestions... Questions... if you could click the install i'd be happy to

Oh and if someone installs it could provide ss i would also be happy thanks again... and thanks to the members who give me the ideas

Edit: attached a few posts below is the vbhacker compabatible file so Enjoy...

g-force2k2

Show Your Support

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

Comments
  #22  
Old 07-03-2002, 04:15 PM
Link14716's Avatar
Link14716 Link14716 is offline
 
Join Date: Jun 2002
Location: Georgia, USA
Posts: 2,519
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks, gforce, I just redid the templates to put it under the Who's Online table and it works. Good job
Reply With Quote
  #23  
Old 07-03-2002, 04:16 PM
g-force2k2 g-force2k2 is offline
 
Join Date: Mar 2002
Location: Everywhere you wanna be..
Posts: 1,608
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Open online.php

Just take this coding:

PHP Code:
$aposts="10";
$posting="10";
$posterlink="<tr><td bgcolor=\"{tableheadbgcolor}\" align=\"center\"><smallfont color=\"{tableheadtextcolor}\"><b><a href=\"$PHP_SELF?action=show_more\">[ View More Posts ]</b></smallfont></td></tr>";
  if(
$action=="show_more") {
    
$aposts="20";
    
$posting="20";
    
$posterlink="";
  } 
And Change it to this:

PHP Code:
$aposts="5";
$posting="5";
$posterlink="<tr><td bgcolor=\"{tableheadbgcolor}\" align=\"center\"><smallfont color=\"{tableheadtextcolor}\"><b><a href=\"$PHP_SELF?action=show_more\">[ View More Posts ]</b></smallfont></td></tr>";
  if(
$action=="show_more") {
    
$aposts="20";
    
$posting="20";
    
$posterlink="";
  } 
Then you should get what you want I was thinking of basing it on a query but i don't know if ppl want to run queries necessarily :P anyways hope that helps

g-force2k2
Reply With Quote
  #24  
Old 01-01-2003, 02:36 AM
Silenced Soul's Avatar
Silenced Soul Silenced Soul is offline
 
Join Date: Apr 2002
Location: holdin' it down for tha 303
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

love this hack, g, love all of your hacks man. great work on this.
Reply With Quote
  #25  
Old 01-05-2003, 04:25 AM
Silenced Soul's Avatar
Silenced Soul Silenced Soul is offline
 
Join Date: Apr 2002
Location: holdin' it down for tha 303
Posts: 72
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

don't know if anyone needs or cares for this, but, I was running into some problems with post security... meaning, people could tell when someone posted in a private forum, so, I added this:

Find:
PHP Code:
SELECT title,threadid,lastpost,lastposter FROM thread 
After that Add
PHP Code:
WHERE forumid!=
Where the # is the forumid of your private forums. Hope this helps someone.
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 04: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.03974 seconds
  • Memory Usage 2,247KB
  • Queries Executed 19 (?)
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
  • (4)bbcode_php
  • (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
  • (2)pagenav_pagelink
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (4)postbit
  • (5)postbit_onlinestatus
  • (5)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