![]() |
Gary, M1th made a post here suggesting a change that would account for not counting posts/threads that the user didn't have permission for.
Have you looked at this? If so, what's your opinion on it? And if anyone else has tried it - can you tell me how well it works, as well as how much added load it puts on the Server? Thanks, all! |
Quote:
|
Quote:
|
Quote:
|
Quote:
|
We are using Gold! and only has 5 hacks installed
HTL -- has 3 file edits VB Trader (Full) -- has NO file edits Members Choice Voting -- has NO file edits On line Today (yours) and this one |
Quote:
|
nope ... another site that i am co admin for http://www.usodja.com/forums/index.php?
|
Hi!
Quick question - the Instructions at some point tell you to look for: Code:
****************************** However, I couldn't find that code anywhere in my navbar template. Am I blind? Or has there been a change for vB 3.0 Gold? |
Find:
Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if> |
Thank you, Hellburn. That did the trick. :)
|
Quote:
|
I got strange characters...
íæÌÜÏ 1 ãæÇÖíÚ æ 30 ãÔÇÑßÇÊ ãõäÐ ÃÎÑ ÒíÇÑÉ áß on vB 3.0 gold... |
The problem with the hack listing so many posts and threads might have something to do with the fact that it seems to continually add threads and posts made since you came back, in other words it shows threads and posts made while you were gone plus continues to add whatever is going on while you're currently there until you leave or mark all forums read.
At least that's what it does for me... |
Quote:
It will reset once it passes the cookie timeout setting you chose in your admin cp. Also, for that vB3 Gold problem with strange characters, works fine for me on vBulletin 3 :) |
That's kinda odd, but it does make sense. Maybe I'll add something to my FAQ about it because people are already getting confused.
It's funny how every new thread also counts as one new post, it's gonna take me awhile to get used to finding logical explanations, seems like such a rare occurence with other software. :laugh: |
Quote:
|
[high]* SaN-DeeP installed ;)[/high]
|
Code:
I am unable to find that line in navbar :rolleyes: :rolleyes: need help pls. Thxn. Sandy... |
Quote:
|
Gary W thnx for quick reply
works :) Sandy... |
clicking install!
|
OPEN UP THE navbar TEMPLATE AND FIND
HTML Code:
<if condition="$show['pmstats']"><br /><phrase 1="$vbphrase[unread_x_nav_compiled]" 2="$vbphrase[total_x_nav_compiled]" 3="$session[sessionurl]">$vbphrase[private_messages_nav]</phrase></if> HTML Code:
<br /><phrase 1="$getnewthread[threads]" 2="$getnewpost[posts]" />$vbphrase[navbar_sincelastvisit]</phrase> WITH THE FOLLOWING CONTENT: Code:
There have been {1} threads and {2} posts since your last visit! I cant find that line in my navbar template 0_o also the PRivate Messages link on navbar is not visible after installing this hack. I am sure. something i did wrong somewhere. Please help Thnx. |
Just curious. Does the count of new posts and threads since their last visit INCLUDE new posts/threads in forums from which they do not have access? Thanks! :)
|
Illuvatar installs this one again on VB Gold! :p
Modified the phrase just a tad...but hey. lol http://www.warofthering.net/forums/v...oad/index.php? |
Quote:
|
When there are 0 threads and 0 new posts it shows this;
There have been threads and posts since your last visit! Wait... it's showing that for everything. :surprised: |
i dont get the actuall #post and #threads ... I just get the phrase
|
thanks bud...works great!
|
Has anyone managed to code this so that it only counts threads/posts that the user has permission to view.
Members are constantly enquiring why the counts don't match the "new posts" search results.Feels awkward explaining to them that the totals include forums they don't have access to. :disappointed: |
Quote:
You, too, budlite74. |
Quote:
|
Dam, same problem here.... Help please...
|
My forums have a million posts or so..
When it runs the query on the posts table it takes a while.. is there any way around this? |
Is there any support for this??? Please???
|
lol...
This wonderfull hack has been re-installed twice in 3 days! First for VB 3.0.2 and now for 3.0.3!! :p Thanks again! |
maybe you can help me for a minute????
|
Not a problem! I actually had the same problem you did after I upgraded, and that was because the globals.php file is replaced with the upgrade. All of my other pieces, the phrase, etc. were not affected. So all I had to do was reinsert the code into globals.php and re-upload it....and poof.....all fixed.
Have you verified that your globals is hacked proper? |
Yep, my global.php should be right on the money.. I uninstalled the template right now though because it wasn't working..
|
Jeez...dunno..... I'd say to try again....make sure everything is backed out and reapply the whole thing. Should only take like 5 minutes.
|
All times are GMT. The time now is 12:01 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|