![]() |
Thank you
*installed* |
Is anyone else seeing a problem with new post icons? I'm seeing posts marked as new in the latest threads display, but if I click on "new posts" it says "Sorry, there are no new threads to view." That is correct - the new post icon in latest threads is wrong for me. Thus far the only way I've found to clear the new posts icon is to mark my forums read.
For example, I can log in as a test user and see 10 threads as unread using "new posts". If I click on a thread title it takes me to the thread. If I click on "new posts" again the thread is no longer listed, but if I go to my forum home the thread is still showing up as unread in the latest threads block. I'm using the database with automatic thread marking to track unread items. I'm guessing that I need to modify the SQL to look at the threadread table for each post and add it to the show goto new post section (listed below). Code:
// show goto new post |
I've pretty much figured out that the problem I'm seeing has to do with the forum_view cookie not being set, thus causing my unread status to fall back to using lastvisit instead. The forum_view cookie is only set in two places in all of the VB3.5 code and in both cases it's only set if you **are not** using threadmarking.
function_bigthree.php Code:
if ($vbulletin->options['threadmarking'] AND $userid) |
Does this work with 3.5.0 Gold ?
|
Quote:
|
It should do, but it's untested on my end - I haven't had time to install 3.5 Gold yet :)
Chris |
ya it does work :)
|
will this hack work if i put it in the header or footer?
|
You will need to make it a global plugin location not a forumhome location ;)
Chris |
And how would I do that?
|
In the admin CP, go to your plug in manager. Find the two plug ins called latest threads on forum home. There will be two drop down menus. One says title and the one below says Hook Location. Open the drop down menu and search for "forumhome"
Chris, again, is there a way to make the forum show up in the latest thread tbale? |
If I do that, I get :
Quote:
|
how do I "Create a GLOBAL phrase called latest_threads"
nevermind, I found it. |
Hi
Is there a way i can display the latest threads on one line instead of a new line for each thread? |
Chris M ,
Is this hack work with forumpermission[canviewothers] ? i am using this hack since you have released but it isnt working fine with this permission. |
Chris, sorry to make this repetive posts but it would be a huge help if you could tell me how to print the forum names?
|
If somebody wants to use that on a different page than forumhome, you have to add require_once('./includes/functions_forumlist.php'); to the php code of the xml and change the hook to global_start.
|
I'm facing this annoying problem
the post icon isn't showing, it's giving me an X, when I right click it gives me this address: http://www.lebforces.org/forum/http:...cons/icon1.gif I tried to fix it from the post icons admincp but didn't work it's showing me the X when there are no replies on the topic! any suggestions? |
Open the [high]forumhome_latestthreadbit[/high] template:
Change: HTML Code:
<img src="$vboptions[bburl]/$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" /> HTML Code:
<img src="$thread[threadiconpath]" border="0" alt="$thread[threadicontitle]" title="$thread[threadicontitle]" style="vertical-align: text-middle" /> Chris |
thank you!
it worked |
How to I can change from 5 to 10 threads show on forumhome?
|
Uncached templates: forumhome_latestthreadbit (5)
How to fix? p.s. vb 3.5 gold |
Quote:
|
Quote:
Put Code:
<div class="smallfont"> |
I forgot to add the "cache_templates" plugin to the product :p
Re-download it, uninstall the previous product and install this new one :) Chris |
How to I can place latest threads in under navbar?
|
Just put the template edit for forumhome and aply it to your navbar. Thats what I did.
Any chance of getting this to display the forum name as well? |
In the main plugin code, find:
PHP Code:
PHP Code:
That should work but it's untested :) Chris |
That syntax was close but did not work.
Try this: Find: PHP Code:
PHP Code:
HTML Code:
<phrase 1="member.php?find=lastposter&t=$thread[threadid]" 2="$thread[lastposter]">$vbphrase[by_x]</phrase> |
Quote:
Quote:
|
@ Chris thanks for the effort.
@ Shardex thanks for the fix. @ Nobita. Sorry my navbar template isn't really a good example as it is bassicly fully customized. Sorry.. |
this is more latest thread replies
Is there a hack about the latest threads posted.? |
I'm not quite sure you need to globalize $vbulletin in forumhome_complete ;)
Also, don't write PHP Code:
PHP Code:
|
In case you want it, here is an updated XML and an updated FORUMHOME html that needs to be inserted according to Chris M's instructions:
HTML Code:
<!-- latest threads --> http://img271.imageshack.us/img271/8...hot16xc.th.png |
Thank you Chris M and Dark Visor. I've installed this and it works perfectly. :)
|
I could of sworn I replied to this thread about your version Dark Visor mentioning that the first new icon was showing up but not the default post icon. Either way it was because of the way i set the image directorey in vB options to work for my portal.
Dark Visor, may i suggest making note that people can edit the table pixels to control the size. @Chris AND Shardex niether of your variables for forum names worked as far as the link goes. The forum names show up fine but they only link to www.yourstie.com/showthread and not www.youstie.com/forums/showthread. Anyways this is defenitley on the top of my list for favorite hacks. :) |
This is a great hack - Thanks! How can I move it up higher on the page? Just below (or above possibly) the Nav bar?
Thanks, |
Quote:
HTML Code:
<a href="$vboptions[bburl]/forumdisplay.php?f=$thread[forumid]"> $forumdata[title] forum</a>. Chris |
Quote:
I actually added two of these bad boys to my homepage so that one displays the latest posts from all the general forums and the other one displays the latest posts from my blog. Check it out at: http://www.shardex.com This is a great hack. |
As you can see I had already made the changes. ;) Yeah I migh consider that if my members wouldn;t kill me. Then again I could proabbly do it at the bottom of my forum as i put this in my navbar.
|
All times are GMT. The time now is 09:33 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:
|