vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   prefix problem (https://vborg.vbsupport.ru/showthread.php?t=205035)

Lautaro 02-11-2009 03:41 PM

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

image:
http://www.img.gamezeventos.com/imag...67Untitled.png

I don't understand why they wont show in black font... >.< ..how can i fix this?

Voltar 02-11-2009 04:28 PM

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?

Lynne 02-11-2009 04:29 PM

Are they showing up in the page source?

Lautaro 02-11-2009 04:38 PM

This is how its set up in my admin cp:

Prefixes list:
http://www.img.gamezeventos.com/imag...1Untitled2.png

Abuse Report - Edit:
http://www.img.gamezeventos.com/imag...8Untitled3.png

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

thanks for your fast replies.

Lynne 02-11-2009 04:47 PM

But is it showing up in the Page Source? Let's see the page source code around it.

Lautaro 02-11-2009 04:50 PM

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 -->


Lynne 02-11-2009 05:03 PM

Check your template "option". What is in there?

Lautaro 02-11-2009 05:11 PM

This is the code in my 'option' template:

Code:

<option value="$optionvalue" class="$optionclass" $optionselected>$optiontitle</option>

Lynne 02-11-2009 05:50 PM

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.

Lautaro 02-11-2009 06:05 PM

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


All times are GMT. The time now is 03:50 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.01238 seconds
  • Memory Usage 1,736KB
  • 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
  • (2)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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