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

Lynne 02-11-2009 07:05 PM

You would hit the Browse button at the top to see the contents of the table.

How about the phrases. Did you find them and do they have text in them?

Lautaro 02-11-2009 07:50 PM

this is what i found in the phrases:
http://www.img.gamezeventos.com/imag...71Untitled.png

i clicked in 'edit' in one of these 2 and saw this:
http://www.img.gamezeventos.com/imag...5Untitled2.png

the same is in the other one..

about the tables.. this is what you need to see?
http://www.img.gamezeventos.com/imag...7Untitled3.png

Lynne 02-11-2009 08:30 PM

Hmmm, everything looks normal, like it should work.

Try disabling your plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Lautaro 02-11-2009 09:12 PM

Ok this is very wierd.. the prefixes started showing now and I didn't edit anything ... =o .. i dont get it ..

Lynne 02-11-2009 09:18 PM

Hmmm. Maybe they just wanted some attention. :D

Lautaro 02-11-2009 11:40 PM

Now I added another prefix and happend the same.. looks like it takes some time to show.. what can be the problem?

http://www.img.gamezeventos.com/imag...aaaaaaaaaa.png

Lynne 02-12-2009 04:33 AM

Are you using some sort of caching on your forums? It almost sounds like that is causing the problem.

Dismounted 02-12-2009 04:37 AM

You may want to open a support ticket @ vBulletin.com.

Lautaro 02-12-2009 10:26 PM

Quote:

Originally Posted by Lynne (Post 1741481)
Are you using some sort of caching on your forums? It almost sounds like that is causing the problem.

uhmm.. no that i know.. how can i edit that or know if im using or not ?

Quote:

Originally Posted by Dismounted (Post 1741484)
You may want to open a support ticket @ vBulletin.com.

yeah, I posted this in vb.com forums too ..

--------------- Added [DATE]1234508759[/DATE] at [TIME]1234508759[/TIME] ---------------

The problem is solved, I told in vBulletin.com's forum whatLynne said about the cache and they asked me if I was using vBoptimise, well, I do so as Lynne asked me some post before to check the Phrases then i though that disableing the option "vB Optimise: Cache Phrases" would work.. and it did..

Thank you all for your support, specially to Lynne for helping me.

GrendelKhan{TSU 03-30-2009 09:30 AM

heh. has same issue. THANKS for INFO!! :D :D

though I didn't need to disable it. just FLASH the CACHE (which is a feature of vbOptimise)

Note: "ladders and tournament" add-on makes a similiar error and new prefix sets show up blank when you create NEW ones in the vb admincp.

To solve: disable add-on, then make new prefix, turn ladders and touranment add-on back on (enable). All good. :)


All times are GMT. The time now is 04:04 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.01126 seconds
  • Memory Usage 1,759KB
  • 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)bbcode_php_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (20)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