vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Forum Home Enhancements - FA Latest News (https://vborg.vbsupport.ru/showthread.php?t=138805)

Hornstar 02-08-2007 09:51 PM

Is the news box collapsible? if not maybe a feature request.

Thanks.

marcsmith73 02-08-2007 10:05 PM

I like this hack. Simple, and effective.

Nathan2006 02-09-2007 01:10 AM

Thank you Farooq

Like this a lot :)

Install

Oh just wanted to ask if there was anyway to customize the
background color of the box?

Thanks :)

thincom2000 02-09-2007 04:58 AM

To make the box collapse ---

In template latest_news, find:
Code:

<td class="tcat">Latest News</td>
Replace with:
Code:

<td class="tcat"><a style="float:$stylevar[right]" href="#top" onclick="return toggle_collapse('latenews')"><img id="collapseimg_latenews" src="$stylevar[imgdir_button]/collapse_tcat$vbcollapse[collapseimg_latenews].gif" alt="" border="0" /></a>Latest News</td>
Find:
Code:

  </tr>
  <tr>

Replace with:
Code:

  </tr>
<tbody id="collapseobj_latenews" style="$vbcollapse[collapseobj_latenews]">
  <tr>

Find:
Code:

</table>
Add above:
Code:

</tbody>

Atakan KOC 02-09-2007 06:16 AM

Thanks Installed...

https://vborg.vbsupport.ru/external/2007/02/22.jpg

maxicep 02-09-2007 08:44 AM

reserved thanks,


Quote:

Originally Posted by Atakan KOC (Post 1178130)


What does this mean Atakan KOC in your post this code :


farooqaaa 02-09-2007 10:04 AM

Quote:

Is the news box collapsible? if not maybe a feature request.

Thanks.
ok version 1.1 is released with "collapse / expand". :)

Enjoy!

farooqaaa 02-09-2007 10:31 AM

1.2 Version released. Now the News Title will be in a "thead" td. See the new screenshot:
https://vborg.vbsupport.ru/attachmen...1&d=1171024314

thincom2000 02-09-2007 06:40 PM

Ah, yes. I was wondering about that. Didn't quite mind the bold text as a header and didn't really feel the need to add a thead on a box with only one short blurb in it... Still I'll install the update. Thanks!

rmxs 02-09-2007 07:50 PM

if the usergoup its for example 25 doesnt appeard :(

I remove from template this code

<if condition="$bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{0} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{2} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{4} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{6} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{8} OR $bbuserinfo[usergroupid]== $vboptions['ugroups_lt']{10}">

And now works with all usergroups byt i cannot restrict

Strainge error


All times are GMT. The time now is 01:59 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.01105 seconds
  • Memory Usage 1,739KB
  • 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
  • (7)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete