vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=229)
-   -   Forum Home Enhancements - Creative amendment to forumhome forumbit level2 post (https://vborg.vbsupport.ru/showthread.php?t=167152)

PerSOnaL 01-06-2008 10:00 PM

Creative amendment to forumhome forumbit level2 post
 
Creative amendment to Template
Could be created a new topic him directly
Or participate in the section directly
Or watch the new subjects in one section
And receive new topics in the service of RSS

Example
Attachment 74295


Download images to a folder within misc a style user
Open template forumhome_forumbit_level2_post
Replaced by the new template


PHP Code:

<tr align="center">
    <
td class="alt2"><img src="$stylevar[imgdir_statusicon]/$forum[imageprefix]forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]/></td>
    <
td class="alt1Active" align="$stylevar[left]id="f$forum[forumid]">
        <
div>
            <
table border="0" width="100%" cellspacing="0" cellpadding="0" id="table1">
                <
tr>
                    <
td rowspan="2">
                        <
fieldset style="padding: 2">
                        <
legend>
                    <
a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>
                         
$forum[title]</strong></a>    
        <if 
condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if></legend>
                        
$forum[description]</fieldset></td>
                    <
td align="center" valign="bottom" width="10%"><a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="$stylevar[imgdir_misc]/sm_newthread.gif" border="0" width="11" height="11" hspace=2" alt="Post New Thread in forum $forum[title]"></a>
                                <a href="
subscription.php?do=addsubscription&f=$forum[forumid]">
                    <img src="
$stylevar[imgdir_misc]/sm_subscribe.gif" border="0" width="11" height="11" hspace="2" alt="Subscribe to Forum $forum[title]"></a></td>
                </tr>
                <tr>
                    <td align="
center" valign="top" width="10%"><a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="$stylevar[imgdir_misc]/rss.gif"  border="0" width="11" height="11" hspace="2" alt="Participation service RSS to Forum $forum[title]"></a>
                                <a href="
search.php?do=getnew&f=$forum[forumid]"><img src="$stylevar[imgdir_misc]/sm_search.gif"  border="0" width="11" height="11" hspace="2" alt="New topics to Forum $forum[title]"></a></td>
                </tr>
            </table>
        </div>
        <if condition="
$show['forumdescription']"></if>
        <if condition="
$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
        <if condition="
$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
    </td>
    <td class="
alt2">$forum[lastpostinfo]</td>
    <td class="
alt1">$forum[threadcount]</td>
    <td class="
alt2">$forum[replycount]</td>
    <if condition="
$vboptions['showmoderatorcolumn']">
    <td class="
alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
    </if>
</tr>
$childforumbits 


zmmmzz 01-07-2008 01:36 PM

thanks so much for this!!

wolfe 01-08-2008 07:19 PM

nice one m8 looks great :P

PerSOnaL 01-10-2008 07:50 AM

Quote:

Quote:

Originally Posted by zmmmzz (Post 1417131)
thanks so much for this!!

Quote:

Originally Posted by wolfe (Post 1417938)
nice one m8 looks great :P


you'r welcome :)

Evolution06 01-10-2008 05:42 PM

Hmm nice, I wonder is it possible to just have the icons on the bottom of the last post block? having the fieldset looks funky on my skin but I like the concept.

Ryan Ashbrook 02-15-2008 06:27 PM

Installed. :)

Brew 02-29-2008 04:06 PM

I really like this, Thanks!

A couple ideas, however.

Make the links to things like the search for new messages conditional.

So, if the forum doesn't have a new message the graphic doesn't display.

Turn this into a plugin. It would be good because it would make updating this easier. Like adding new graphic links to things like forum rules, etc.

Nice job here. It really makes my forums look more custom.

I'll nominate this for MOTM as it really enhances the home page pretty well.

Thanks!

hollywoodbubble 03-01-2008 10:05 PM

Hey, thank you! Mod is awesome. Quick question, how do I activate the RSS function so it works? Cause right now when I click on it, it just gives me a blank page, thanks.

Gosef 03-26-2008 11:01 AM

I really like this
thank you!

Tom_S 03-27-2008 01:49 AM

Very Nice!


All times are GMT. The time now is 09:12 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.01145 seconds
  • Memory Usage 1,780KB
  • 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_php_printable
  • (3)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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