vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   SHow latest post links to not loged in users (https://vborg.vbsupport.ru/showthread.php?t=209343)

youjoomla 03-24-2009 10:06 PM

SHow latest post links to not loged in users
 
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:
HTML Code:

<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:

HTML Code:

<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:

.


All times are GMT. The time now is 11:22 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
  • Page Generation 0.00942 seconds
  • Memory Usage 1,723KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_html_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete