Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #21  
Old 03-31-2009, 03:57 AM
MarkFoster MarkFoster is offline
 
Join Date: Jun 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
They are lines in the news.php file. I forgot to change $latestthread to $thread.
Okay I edited the PHP, re-uploaded and reinstalled the mod, still nothing...
Reply With Quote
  #22  
Old 03-31-2009, 04:00 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Reinstalled it? All you should do it reupload the file. If you reinstalled the xml file, then you probably wrote over the template changes you did.

What is in your "rwc_newsarchive_bit" template in the style you are using? And did you make the edit in two places in the news.php file? And what is in your "rwc_latestnews_bit" template? Both of those need the thread prefix added.

If that isn't it, I don't know what else to suggest.
Reply With Quote
  #23  
Old 03-31-2009, 04:05 AM
MarkFoster MarkFoster is offline
 
Join Date: Jun 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Reinstalled it? All you should do it reupload the file. If you reinstalled the xml file, then you probably wrote over the template changes you did.

What is in your "rwc_newsarchive_bit" template in the style you are using? And did you make the edit in two places in the news.php file? And what is in your "rwc_latestnews_bit" template? Both of those need the thread prefix added.

If that isn't it, I don't know what else to suggest.
I did the changes in two places yes.

This is my template:
Code:
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center">
<tr>
		<td class="thead"><font size="4" face="Verdana">$dateposted - Posted by $thread[postusername]</font></td>
	</tr>
	<tr>
		<td class="alt1"><div class="navbar_notice">			<!-- icon and title -->
			<div class="smallfont">
				<if condition="$show['threadicon']"><img class="inlineimg" src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /></if>
				<strong>$thread[title]</strong>
			</div>
			<hr size="1" style="color:#000000; background-color:#000000" />
			<!-- / icon and title -->


		<!-- message -->
		<div id="post_message_$thread[threadid]">$message</div>
		<!-- / message --></div></td>
	</tr>
	</table>
	<br />
</tr>
</table>
Reply With Quote
  #24  
Old 03-31-2009, 04:07 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't know which template that is (you didn't say), but it doesn't have the thread prefix in it so it's not going to show one.
Reply With Quote
  #25  
Old 03-31-2009, 04:10 AM
MarkFoster MarkFoster is offline
 
Join Date: Jun 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
I don't know which template that is (you didn't say), but it doesn't have the thread prefix in it so it's not going to show one.
It's the "rwc_newsarchive_bit", what code should I add in them then? ... And where?
Reply With Quote
  #26  
Old 03-31-2009, 04:16 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Add either $thread[prefix_plain_html] or $thread[prefix_rich] where you want it to show before the thread title. If you want it to be bolded like the title, put it inside the <strong> tag with the title. If not, put it right before the <strong> tag.
Reply With Quote
  #27  
Old 03-31-2009, 04:25 AM
MarkFoster MarkFoster is offline
 
Join Date: Jun 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
Add either $thread[prefix_plain_html] or $thread[prefix_rich] where you want it to show before the thread title. If you want it to be bolded like the title, put it inside the <strong> tag with the title. If not, put it right before the <strong> tag.
It works on every single template but not in the links template :/
Is there any way I can work my way behind this?

Or maybe I was just dumb (again) and need professional help, could you add it in the code right before the thread name?
Code:
<a href="$vboptions[bburl]/news.php?id=$thread[threadid]" title="$thread[title]"><strong>$thread[title]</strong></a><br />
$dateposted<br />
Posted by <strong><a href="$vboptions[bburl]/member.php?u=$thread[postuserid]">$thread[postusername]</a></strong><br />
<font size="2" face="Times" color="#383838">
	$message
</font>
<br /><br />
Reply With Quote
  #28  
Old 03-31-2009, 04:31 AM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

We already did it for that template here - https://vborg.vbsupport.ru/showpost....62&postcount=8
Reply With Quote
  #29  
Old 03-31-2009, 04:42 AM
MarkFoster MarkFoster is offline
 
Join Date: Jun 2008
Posts: 305
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
We already did it for that template here - https://vborg.vbsupport.ru/showpost....62&postcount=8
Then apprently it wont work :/
Reply With Quote
  #30  
Old 03-31-2009, 07:01 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But did you reapply the changes after you reimported the xml file and wrote over everything?
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 12:33 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.04339 seconds
  • Memory Usage 2,277KB
  • Queries Executed 12 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_code
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete