vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   "New Post! " after section name ? (https://vborg.vbsupport.ru/showthread.php?t=309037)

bigs15 03-01-2014 03:13 AM

"New Post! " after section name ?
 
http://img836.imageshack.us/img836/6096/lfm2.png


Hey guys :)

Can anybody help me do this ? but only show if there is really a new post in section :)

omardealo 03-01-2014 04:26 PM

i think that's need to makeing new Product to do this jop .
and will be Contains many of plugins .

Product jop:
See if there are new thread in a forum , and show alarm for members
then a member who saw the alarm does not watch again .

I do not know if there is a product exists or not,
But I do not think that there is a simple code to do this jop .

darnoldy 03-02-2014 07:55 PM

You need to edit the forumhome_forumbit_level1_post template—and maybe the forumhome_forumbit_level2_post template too, depending on your forum structure.

You can create a conditional that uses $forum[statusicon] to decide whether or not to show the "new post" wording.

bigs15 03-02-2014 09:53 PM

please , could you help me with this :) ?

blind-eddie 03-02-2014 10:50 PM

Give this a try.

https://vborg.vbsupport.ru/showthrea...light=new+post

darnoldy 03-03-2014 03:25 AM

Go into the forumhome_forumbit_level1_post template, then find the line that contains $forum[title].

Change it to look like:
HTML Code:

<a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]" class="$forum[statusicon]"> $forum[title] </a>
Then add the following to your custom css:

Code:

a.new { font-weight:bold;}
a.new:after {content:"New Posts";font-size:80%;color:#00ff00;font-weight:bold;}


bigs15 03-03-2014 11:55 PM

not working sir , thanks for trying :)

ozzy47 03-03-2014 11:57 PM

What is not working, the mod blind-eddie pointed out, the template edit darnoldy spoke of, or both?

blind-eddie 03-04-2014 01:08 AM

I tried the template edit darnoldy spoke of... but it didn't seen to work

darnoldy 03-04-2014 05:08 AM

Depending on your forum structure, you may need to edit the template
forumhome_forumbit_level2_post
instead


All times are GMT. The time now is 08:50 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
  • Page Generation 0.01074 seconds
  • Memory Usage 1,727KB
  • 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
  • (1)bbcode_code_printable
  • (1)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