Log in

View Full Version : prefix problem


Lautaro
02-11-2009, 03:41 PM
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/images/93967Untitled.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/images/691231Untitled2.png

Abuse Report - Edit:
http://www.img.gamezeventos.com/images/830298Untitled3.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:


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


<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/images/901871Untitled.png

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

the same is in the other one..

about the tables.. this is what you need to see?
http://www.img.gamezeventos.com/images/284907Untitled3.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

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/images/467701aaaaaaaaaaaa.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
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 ?

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

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

--------------- Added 1234508759 at 1234508759 ---------------

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. :)