Log in

View Full Version : SHow latest post links to not loged in users


youjoomla
03-24-2009, 10:06 PM
How would I show latest post links to unregisterd or not loged in users?

For some reason Today's Posts shows only 1 or 2 , unregistered members should be able to see all posts made in 24h , the settings for that group is set to allow to search forums ,

me as admin if I login and click show New posts I always see last 1 or 2 that I did not view ,

same thing for registered users ,

can this be set to always show all posts in last 24h

if I use search.php?do=getdaily&days=2 as not loged in user I see only 3 post where there should be min 23 ,

if I login and use search.php?do=getdaily&days=2 I see all

posted over at vbulletin.com and where advised if I dont allow them to see the posts in specific forums they will not also be able to see search results or latest posts links from these forums ( does this make sense?)

than I was advised to look for a possible hack here,

please advise

thnx

dai-kun
03-24-2009, 10:20 PM
do you have private forums?
Since they block guests from viewing which blocks new posts in that section.

youjoomla
03-24-2009, 10:31 PM
yes I do , not to post links , google please my username so you can see it

dai-kun
03-24-2009, 10:38 PM
What you want to do exactly? is your questions pertaining to guests or regular members?

youjoomla
03-24-2009, 10:54 PM
I would like to show latest post links to anyone no materr if they can view or post in forums

dai-kun
03-24-2009, 11:00 PM
then make your private forums public.

youjoomla
03-24-2009, 11:10 PM
if you cant help why do you bother?

Seven Skins
03-24-2009, 11:11 PM
Find in navbar template:

<if condition="$show['member']">
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>
<else />
<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getdaily" accesskey="2">$vbphrase[todays_posts]</a></td>
</if>


Replace it with:

<td class="vbmenu_control"><a href="search.php?$session[sessionurl]do=getnew" accesskey="2">$vbphrase[new_posts_nav]</a></td>


PS. There are two set of above codes you need to edit both of them. Please do make a copy of your template before editing.

.

youjoomla
03-24-2009, 11:27 PM
thnx Seven Skins's , I end up with 2 post again as not loged in user, if I login ,

Sorry, there are no new threads to view.

You may search for threads updated during the previous 24 hours

may I send you pm of exact function I need from someones forum ?

Seven Skins
03-24-2009, 11:30 PM
Yes you can.

Edited:

.