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

Reply
 
Thread Tools Display Modes
  #1  
Old 02-11-2009, 03:41 PM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default prefix problem

hello, today i added prefix to a section of my forum but the list of prefixes is in blank ...

image:


I don't understand why they wont show in black font... >.< ..how can i fix this?
Reply With Quote
  #2  
Old 02-11-2009, 04:28 PM
Voltar Voltar is offline
 
Join Date: Mar 2006
Location: Bakersfield, California
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That seems a little odd, you can't save a thread prefix without specifying both the plain and rich text titles, along with the prefix id. Do you have any plugins that might be causing this? Does the prefix show correctly in the ACP?
Reply With Quote
  #3  
Old 02-11-2009, 04:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Are they showing up in the page source?
Reply With Quote
  #4  
Old 02-11-2009, 04:38 PM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is how its set up in my admin cp:

Prefixes list:


Abuse Report - Edit:


here a little video preview of how it looks:
http://www.youtube.com/watch?v=5pxn4k5S44U

thanks for your fast replies.
Reply With Quote
  #5  
Old 02-11-2009, 04:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

But is it showing up in the Page Source? Let's see the page source code around it.
Reply With Quote
  #6  
Old 02-11-2009, 04:50 PM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is what I see in the page source when im creating a new thread:

Code:
        <!-- subject field -->
        <table cellpadding="0" cellspacing="0" border="0" style="margin-bottom:3px">
        <tr>
            <td class="smallfont" colspan="3">Title:</td>
        </tr>
        <tr>
            <td>
                
                    <select name="prefixid" class="bginput">
                        <option value="">(no prefix)</option>
                        <option value="1" class="" ></option>
<option value="test" class=""  selected="selected"></option>

                    </select>
                
                <input type="text" class="bginput" name="title" value="test" size="50" maxlength="85" tabindex="1" title="Optional" />
            </td>
            <td>&nbsp;&nbsp;</td>
            <td><img id="display_posticon" src="clear.gif" alt="" /></td>
        </tr>
        </table>
        <!-- / subject field -->
Reply With Quote
  #7  
Old 02-11-2009, 05:03 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Check your template "option". What is in there?
Reply With Quote
  #8  
Old 02-11-2009, 05:11 PM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the code in my 'option' template:

Code:
<option value="$optionvalue" class="$optionclass" $optionselected>$optiontitle</option>
Reply With Quote
  #9  
Old 02-11-2009, 05:50 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That looks fine.

Are you comfortable at all at looking in the database? There is the prefixset table where you should see your prefixsetid and then there is the prefix table which should show your prefixid (1) and prefixsetid (??) . The prefixes are actually stored as phrases. You should have a phrase in the Thread Prefixes phrase group for your reports group and then two global phrases for each prefix named "prefix_id_title_plain" and "prefix_id_title_rich" with id replaced with your id (in your one above, the id is "1") so look for "prefix_1_title_plain" and "prefix_1_title_rich" and make sure they exist.
Reply With Quote
  #10  
Old 02-11-2009, 06:05 PM
Lautaro's Avatar
Lautaro Lautaro is offline
 
Join Date: Jan 2009
Location: United States
Posts: 233
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

umm.. i dont know too much about phpmyadmin and databases... I looked in phpmyadmin for the table you said and aw this:

prefixset table
http://www.img.gamezeventos.com/images/2142361.png

prefixset table - browse
http://www.img.gamezeventos.com/images/5314702.png
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 06:26 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04556 seconds
  • Memory Usage 2,254KB
  • Queries Executed 13 (?)
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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)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_postinfo_query
  • fetch_postinfo
  • 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