![]() |
Today's Posts on forumhome (number).
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:
PHP Code:
Now, open up the TEMPLATE FORUMHOME. Find: HTML Code:
$vbphrase[posts]: $totalposts HTML Code:
$vbphrase[posts] (<a href="search.php?do=getdaily">$vbphrase[today]</a>): $totalposts ($poststoday) If you use this hack, please click INSTALL! |
Reserved for... oh well, its here, live with it :p.
|
works great on my forum using 3.0.6 :)
thanks *clicks install* |
Glad to hear it works on 3.0.6 aswell :).
|
Going to kill any large instaltions, also you are not adding any index to help with the query time.
|
Hmm, didn't think about that yet.
I created it for my rather small board, so I didn't mind those things. What would your suggestion be on this code? |
Add an index on dateline.
|
Ok, I'll change it when I get some time.
|
Hi
I wanted to ask if it is okay for you if I would translate your hack into german. 2.) Would you mind if I would post the translation at www.vbhacks-germany.com I promise only licensed vB members may download add-ons from our board. If that?s not okay for you I would post the translation here in thread Yours Markus |
Quote:
|
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 |
Quote:
|
Quote:
|
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.. |
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 |
[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] |
It is very easy to spoof a referrer.
|
vBAdvanced.com has been using it I believe...havent seen any problems there.. :rolleyes:
|
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! |
Quote:
|
Yes thats right
vbadvanced uses nearly the same method we do. We are still waiting for a comment from scott, but I think our system is the best we can until a better solution is suggested by Jelsoft. lg Markus |
Quote:
|
Thanks...nice lil mod.. i was searching for this one...cheers.
|
No problem ;).
|
I'm looking for something similiar to this. On the nav bar, "new posts" I would like to show the number of posts since the person visited the board.
Any way to do this, please? :) |
That'd add an extra query to each page, if I'm not mistaking...
If you're sure that you want it, I'll create it. |
I didn't know it was going to put another query on each page...there has to be another way. Thanks Deaths. :)
|
Hmm, there is a posibility to do it using a cronjob and the datastore I guess... I'll look into it for you.
|
Sweet installed :)
|
thanks 4 sharing !
|
No problem guys :).
Please click install if used. |
Thanks Deaths so much :)
|
No problem :)
|
Excellent, thanks! :)
|
Glad I could be of help :).
|
Ack, now the "view new posts since your last visit" thing isn't showing the cookies, it's showing the posts for today. Anyway to fix that? Thanks. :)
|
What is the URL?
|
Hey, the url is in my signature, guests can't see it though. I just liked having the number of new posts there, no biggie. :)
|
Ah, I see.
Change the 2 $newposts variables to $todayposts in my hack, and it'll probably work :) |
Excellent, thanks! Worked great! :) I wish you could join, only chicks though, sorry!
|
All times are GMT. The time now is 12:42 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|