Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Today's Posts on forumhome (number). Details »»
Today's Posts on forumhome (number).
Version: 1.0.0, by Deaths Deaths is offline
Developer Last Online: Mar 2009 Show Printable Version Email this Page

Version: 3.0.7 Rating:
Released: 04-05-2005 Last Update: 04-05-2005 Installs: 32
 
No support by the author.

A couple of my members requested this hack, so I created it, and decided to share it with you guys .

What does this hack do?
This hack will display the number of posts made today.

Misc Info:
The "today" text linksto search.php?do=getdaily, for your lazy members
Creator: Deaths
Support is given in Hack's Thread, or preferably at vBadditions.com (when its back up).
Live Demo: http://board.xgnews.org/?styleid=1

The attached .zip contains an install file, for those who would like a copy.

Here we go:

Open up /index.php, and find:
PHP Code:
$userstats unserialize($datastore['userstats']);
$numbermembers vb_number_format($userstats['numbermembers']);
$newusername $userstats['newusername'];
$newuserid $userstats['newuserid']; 
Bellow, add:

PHP Code:
// START POSTS TODAY ON FORUMHOME HACK
$starttime mktime(000date('m'), date('d'), date('Y'));
$newposts $DB_site->query_first("SELECT COUNT(*) AS count FROM " TABLE_PREFIX "post WHERE dateline >= $starttime");
$poststoday vb_number_format($newposts['count']);
// END POSTS TODAY ON FORUMHOME HACK 
Save, Close & Upload.

Now, open up the TEMPLATE FORUMHOME.

Find:
HTML Code:
$vbphrase[posts]: $totalposts
REPLACE with:
HTML Code:
$vbphrase[posts] (<a href="search.php?do=getdaily">$vbphrase[today]</a>): $totalposts ($poststoday) 
That's it, you're done!

If you use this hack, please click INSTALL!

Supporters / CoAuthors

Show Your Support

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

Comments
  #12  
Old 04-10-2005, 09:48 PM
boeserwolf boeserwolf is offline
 
Join Date: Jan 2004
Location: Styria / Austria
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

This solution is realised over a check on vbulletin-germany.

There is a thread with an Attachment, which contains a password.

If you´re a licensed member of vbulletin, you will be able to open this attachment and read the password.

This password changes very often.

If you have the Password, you create a support ticket at vbhacks-germany.com and if the password is correct, the administrator of vbhacks will put you in the "licensed" usergroup.

Sounds complicated I know, we already talked to scott molinari, and he promised he will talk to jailsoft, to put our site to jelsoft´s (adduco´s) member area.

yours

Markus
Reply With Quote
  #13  
Old 04-10-2005, 10:07 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boeserwolf
Hello


This solution is realised over a check on vbulletin-germany.

There is a thread with an Attachment, which contains a password.

If you?re a licensed member of vbulletin, you will be able to open this attachment and read the password.

This password changes very often.

If you have the Password, you create a support ticket at vbhacks-germany.com and if the password is correct, the administrator of vbhacks will put you in the "licensed" usergroup.


Sounds complicated I know, we already talked to scott molinari, and he promised he will talk to jailsoft, to put our site to jelsoft?s (adduco?s) member area.


yours


Markus
So what is keeping that password from being distributed thoughout the piracy sites?
Reply With Quote
  #14  
Old 04-11-2005, 03:47 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by boeserwolf
and he promised he will talk to jailsoft
Lol, how we can take you serious if this is how you think about Jelsoft. Or am i not getting this?
Reply With Quote
  #15  
Old 04-11-2005, 08:26 AM
Eternal2u Eternal2u is offline
 
Join Date: Feb 2004
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Try using cache instead..one of my coders on my site made it use that and its a much better thing to do than make another useless query...

Trust me the webbies with sense will appreciate you for it..
Reply With Quote
  #16  
Old 04-11-2005, 08:50 AM
boeserwolf boeserwolf is offline
 
Join Date: Jan 2004
Location: Styria / Austria
Posts: 59
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sorry for making this nasty error typing the name. It´s Jelsoft clear.

You may only give your best, changing the password very often, so distributing is very hard. But it is not the best solution we all lnow in the community.

We hope to get a better solution very soon from Jelsoft.

lg

Markus
Reply With Quote
  #17  
Old 04-11-2005, 12:47 PM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

[off topic]if you plan on having something as such as a lisence verification here on vb.org for your site, it would be in your best interest to use $_SERVER['HTTP_REFERRER'] = 'https://vborg.vbsupport.ru/showpost.php?p=xxxxx&postcount=xx'; to verify they actually are coming from that specific page..and put the link and verification code into a code box preventing non-lisenced mebers from seeing it [/off topic]

Thanks for this hack, Deaths

[high]* TyleR clicks install[/high]
Reply With Quote
  #18  
Old 04-11-2005, 12:54 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It is very easy to spoof a referrer.
Reply With Quote
  #19  
Old 04-11-2005, 12:58 PM
TyleR's Avatar
TyleR TyleR is offline
 
Join Date: Nov 2004
Location: North Carolina
Posts: 349
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBAdvanced.com has been using it I believe...havent seen any problems there..
Reply With Quote
  #20  
Old 04-11-2005, 03:45 PM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you for your feedback Tyler.

Please do not spam my hack's thread with stuff like this.

And yes, you may translate my hack, but PLEASE use the PM SYSTEM next time you want to ask something like this!
Reply With Quote
  #21  
Old 04-11-2005, 03:50 PM
Zachery's Avatar
Zachery Zachery is offline
 
Join Date: Jul 2002
Location: Ontario, Canada
Posts: 11,440
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by TyleR
vBAdvanced.com has been using it I believe...havent seen any problems there..
AFAIK the password is updated constantly
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:46 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.05043 seconds
  • Memory Usage 2,317KB
  • Queries Executed 26 (?)
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_html
  • (2)bbcode_php
  • (3)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
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)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