View Single Post
  #30  
Old 01-17-2006, 12:45 PM
Marv Marv is offline
 
Join Date: Jun 2002
Location: Germany
Posts: 372
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Wayne,

I?ve tried to put this in the forums tools menu but for some reason it creates only the basic information of my forums - but no threadinfo?s.
Code:
<rss version="2.0">
- <channel>
   <title>MySiteTitle - MyForumsTitle</title>
   <link>http://www.mysite.com/forums</link>
	- <description>MySiteDescription !</description>
	   <language>en</language>
	   <pubDate>Tue, 17 Jan 2006 14:47:11 GMT</pubDate>
	   <generator>vBulletin</generator>
     <ttl>60</ttl>
 </channel>
</rss>
I?m using this in the forums menu (extended to rss 0,91, 2.0 and rdf-feeds)
PHP Code:
<!-- forum tools menu -->
<
div class="vbmenu_popup" id="forumtools_menu" style="display:none">
<
form action="moderator.php" method="post" name="forumadminform">
    <
table cellpadding="4" cellspacing="1" border="0">
    <
tr><td class="thead">$vbphrase[forum_tools]<a name="goto_forumtools"></a></td></tr>
    <if 
condition="$show['newthreadlink']"><tr><td class="vbmenu_option"><a href="newthread.php?$session[sessionurl]do=newthread&amp;f=$foruminfo[forumid]rel="nofollow">$vbphrase[post_a_new_thread]</a></td></tr></if>
    <
tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]do=markread&amp;f=$foruminfo[forumid]rel="nofollow">$vbphrase[mark_this_forum_read]</a></td></tr>
    <
tr><td class="vbmenu_option"><a href="subscription.php?$session[sessionurl]do=addsubscription&amp;f=$foruminfo[forumid]rel="nofollow">$vbphrase[subscribe_to_this_forum]</a></td></tr>
    <if 
condition="$show['rss']">
    <
tr><td class="vbmenu_option"><a href="external.php?type=rss2&forumids=$foruminfo[forumid]rel="nofollow">$vbphrase[subscribe_to_this_forum_rss]</a
    <
a href="external.php?type=rss&forumids=$foruminfo[forumid]rel="follow" target="_blank"><img class="inlineimg" img border="0" src="stylevar[imgdir_misc]/rss.png" lowsrc="RSS Feed 0.91" alt="RSS Feed 0.91"></a
    <
a href="external.php?type=rss2&forumids=$foruminfo[forumid]rel="follow" target="_blank"><img class="inlineimg" img border="0" src="stylevar[imgdir_misc]/rss.gif" lowsrc="RSS Feed 2.0" alt="RSS Feed 2.0"></a>
    <
a href="external.php?type=rdf&forumids=$foruminfo[forumid]rel="follow" target="_blank"><img class="inlineimg" img border="0" src="stylevar[imgdir_misc]/rdf.gif" lowsrc="RDF Feed" alt="RDF Feed"></a>
</
td></tr>
    </if>
    <
tr><td class="vbmenu_option"><a href="forumdisplay.php?$session[sessionurl]f=$foruminfo[parentid]rel="nofollow">$vbphrase[view_parent_forum]</a></td></tr
Do I have to place the initial plugin elsewhere as in forumsdisplay_start if I?ld like to place this in the forum menu?

Any idea ?
Reply With Quote
 
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01129 seconds
  • Memory Usage 1,813KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD_SHOWPOST
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code
  • (1)bbcode_php
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_box
  • (1)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit_info
  • (1)postbit
  • (1)postbit_onlinestatus
  • (1)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • reputationlevel
  • showthread
Included Files:
  • ./showpost.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showpost_start
  • bbcode_fetch_tags
  • bbcode_create
  • postbit_factory
  • showpost_post
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • showpost_complete