vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Qwestion On FORUMHOME (https://vborg.vbsupport.ru/showthread.php?t=247236)

dieselpowered 07-24-2010 09:14 PM

Qwestion On FORUMHOME
 
Ok so I created groups for each of the states and created an area on the forum home that list them. You can see them at the following:

http://www.commandertalk.com/forums/

A few things that I am wanted to do that I cannot seem to make happen. First off, how can I put them into even rows horizontally? I think this can be done using CSS, however, I am pretty much clueless when it comes to CSS.

Next, is there a way to make it so that when a new discussion is posted into one of the groups, the icon changes in that area to reflect the new discussion? For example, now it is using subforum_old.gif and if there was a new discussion in the group would change to subforum_new.gif

Lastly, instead of placing all the HTML into the FORUMHOME template, could I create a new template and call it from the FORUMHOME template? What is the command to do that?

Thanks so much in advance for the help!!

dieselpowered 07-26-2010 12:15 AM

Awe, comeon, I know someone knows...help me out :)

dieselpowered 08-05-2010 08:24 PM

Ok, I have all the formatting figured out...all that I am missing now is the code so that when there is a new discussion, the icon changes from old to new. Can someone help out with that code?

Thanks in advance!

dieselpowered 10-27-2010 11:19 PM

Can someone please help me out with this...I have everything done, just need to find out if there is a way to make it so that when a new discussion is posted into one of the groups, the icon changes in that area to reflect the new discussion? For example, now it is using subforum_old.gif and if there was a new discussion in the group would change to subforum_new.gif

Please help!! :)

BirdOPrey5 10-28-2010 08:36 AM

Well if you look at the only place vBulletin shows if a group had unread discussions it's in the template: socialgroups_grouplist_bit

And the exact condition is: <if condition="!$group['is_read']">

So that's a start but of course that won't work by itself on forumhome because on forumhome no group is defined.

Likely you'll need a pretty extensive custom plugin to do this.


All times are GMT. The time now is 07:05 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.01064 seconds
  • Memory Usage 1,717KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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