vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=236)
-   -   Forum Home Enhancements - Extra forumbit controls (https://vborg.vbsupport.ru/showthread.php?t=204168)

davew 02-17-2009 06:29 AM

Quote:

Originally Posted by dvbusuario (Post 1746491)
lol that was simple, thank you very much.

You're welcome - great to be able help someone else for a change :)

veenuisthebest 02-17-2009 11:27 AM

Inserting <br> will throw xhtml validation errors, use <br /> instead.

macc 02-17-2009 01:43 PM

Nice - on forum works fine but how get to works on CMPS - recent threads?

thanks for nice mod!

regards

macc

TimberFloorAu 02-17-2009 09:17 PM

Error in first edit found.
Code:

<div style="float:right">
<a href="search.php?do=getnew&f=$forum[forumid]"><img src="images/misc/newposts.png" border="0" width="11" height="11" hspace="2" alt="Read New Posts" /></a>

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="images/misc/newthread.png" border="0" width="11" height="11" hspace="2" alt="Create a New Thread" /></a>

<a href="subscription.php?do=addsubscription&f=$forum[forumid]"><img src="images/misc/subscribe.png" border="0" width="11" height="11" hspace="2" alt="Subscribe" /></a>

<a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>
</div>

Last line should read
<a href="external.php?type=rss2&forumid=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>

Also in edit 2

Code:

<div style="float:right">
<a href="search.php?do=getnew&f=$forum[forumid]"><img src="images/misc/newposts.png" border="0" width="11" height="11" hspace="2" alt="Read New Posts" /></a>

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="images/misc/newthread.png" border="0" width="11" height="11" hspace="2" alt="Create a New Thread" /></a>

<a href="subscription.php?do=addsubscription&f=$forum[forumid]"><img src="images/misc/subscribe.png" border="0" width="11" height="11" hspace="2" alt="Subscribe" /></a>

<a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>
</div>

change last line to:
<a href="external.php?type=rss2&forumid=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>

The4um 02-17-2009 10:36 PM

so cool

Gamelobby 02-17-2009 11:23 PM

Im lost on step one.. lol
Quote:

1. First upload the 4 attached icons in images/misc/ folder.
Where are the attached icons.?

Chadi 02-17-2009 11:24 PM

Cool mod. I'm no coder, but should these 4 icons have an <if> rule so that it shows only for members logged in?

Chadi 02-17-2009 11:26 PM

Quote:

Originally Posted by Gamelobby (Post 1747382)
Im lost on step one.. lol


Where are the attached icons.?

Look carefully in the description, at the bottom an inch below where it says "
Download Now" you'll see 4 tiny icons. Right click to save them.

veenuisthebest 02-18-2009 01:08 AM

Quote:

Originally Posted by TimberFloorAu (Post 1747277)
Error in first edit found.
Code:

<div style="float:right">
<a href="search.php?do=getnew&f=$forum[forumid]"><img src="images/misc/newposts.png" border="0" width="11" height="11" hspace="2" alt="Read New Posts" /></a>

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="images/misc/newthread.png" border="0" width="11" height="11" hspace="2" alt="Create a New Thread" /></a>

<a href="subscription.php?do=addsubscription&f=$forum[forumid]"><img src="images/misc/subscribe.png" border="0" width="11" height="11" hspace="2" alt="Subscribe" /></a>

<a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>
</div>

Last line should read
<a href="external.php?type=rss2&forumid=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>

Also in edit 2

Code:

<div style="float:right">
<a href="search.php?do=getnew&f=$forum[forumid]"><img src="images/misc/newposts.png" border="0" width="11" height="11" hspace="2" alt="Read New Posts" /></a>

<a href="newthread.php?do=newthread&f=$forum[forumid]"><img src="images/misc/newthread.png" border="0" width="11" height="11" hspace="2" alt="Create a New Thread" /></a>

<a href="subscription.php?do=addsubscription&f=$forum[forumid]"><img src="images/misc/subscribe.png" border="0" width="11" height="11" hspace="2" alt="Subscribe" /></a>

<a href="external.php?type=rss2&forumids=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>
</div>

change last line to:
<a href="external.php?type=rss2&forumid=$forum[forumid]"><img src="images/misc/rss.png" border="0" width="11" height="11" hspace="2" alt="RSS feed" /></a>

So whats the error? Are you talking about forumids, if yes, the forumid and forumids both work fine.

veenuisthebest 02-18-2009 01:11 AM

Quote:

Originally Posted by chadi (Post 1747384)
Cool mod. I'm no coder, but should these 4 icons have an <if> rule so that it shows only for members logged in?

If you want to hide it from guests, just wrap the code within:

HTML Code:

<if condition="$show['member']">

<!-- Code here -->

</if>



All times are GMT. The time now is 05:55 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.01109 seconds
  • Memory Usage 1,751KB
  • 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
  • (4)bbcode_code_printable
  • (1)bbcode_html_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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