vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   RSS feed icon in forumdisplay (https://vborg.vbsupport.ru/showthread.php?t=222344)

medicalforums 09-03-2009 12:23 AM

RSS feed icon in forumdisplay
 
Can anybody tell me why this RSS icon not showing in my forums!

I added this in the forumdisplay template

Code:

<td class="vbmenu_control" id="forumsearch.subforums" nowrap="nowrap"><a href="search.php?$session[sessionurl]f=$foruminfo[forumid]" rel="nofollow">$vbphrase[search_this_forum]</a> <if condition="$show['quicksearch']"><script type="text/javascript"> vbmenu_register("forumsearch.subforums"); </script></if></td>
</if>

<td><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>

</tr>
</table>


bmckinley 09-03-2009 01:14 AM

change:

Code:

<td><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>
to this:

Code:

<td class="vbmenu_control"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>
I'm not a coder, just a newb, but give it a shot...

medicalforums 09-03-2009 01:33 AM

Quote:

Originally Posted by bmckinley (Post 1878757)
change to

Code:

<td class="vbmenu_control"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>
I'm not a coder, just a newb, but give it a shot...

Thanks for the help but that didn't work either

bmckinley 09-03-2009 02:26 AM

Try messing around with the href attribute designation. May need to be a little more specific. Maybe even go as far as <a href="http://yoursite/forum/external.php......



Code:


<td class="vbmenu_control"><a href="/external.php?type=rss2&forumids=$foruminfo[forumid]"><img src="images/added/feed-icon-animated.gif" height="14" width="14" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>


medicalforums 09-03-2009 03:16 AM

My bad

It was a big mistake

I was putting the code in forum lists table not in the thread list table!

Finally this code worked

Code:

<td class="tcat"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]"><img class="inlineimg" src="$stylevar[imgdir_misc]/feed-icon-animated1.gif" border="0" height="20" width="20" alt="Feed Icon" title="Subscribe to $foruminfo[title]'s RSS Feed"></a></td>
Sorry for bothering you and thanks for all the help


All times are GMT. The time now is 11:47 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.01130 seconds
  • Memory Usage 1,724KB
  • 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
  • (6)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (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