Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 prefix are not clickable
rkrusty26 Offline
Junior Member
**
Posts: 14
Joined: Aug 2013
Post: #1
prefix are not clickable
i installed xthreads and after that i followed this step below in quoted text but my prefixes are not clickable,,, tell me what to do

Quote:Thread Prefix
With XThreads, we can create thread prefix. More than that, we can filter the threads based on their prefix.

Here is a simple way to do that:

1. Create a Custom Thread Fields with this settings:

    Title: Prefix
    Key: prefix
    Applicable Forums: 'select a forum that we want the prefix to be applied'
    Input Field Type: Listbox
    Field Input Height: 1
    If we want multi prefix for a single thread, fill the Field Input Height with a value that greater than 1.
    Values List:

    Code:

    Prefix 1
    Prefix 2
    Prefix 3

    Name it as our need.
    Editable by / Required Field?: Everyone (Required)
    Allow Filtering: Yes
    Display Format:

    Code:

    [{VALUE}]

    If we want multi prefix, this will be the "main" display format.
    Allow multiple values for this field: No
    If we want multi prefix for a single threads, choose Yes
    Multiple Value Delimiter:

    Code:

    ,

    The Multiple Value Delimiter setting will be displayed if we choose Yes in Allow multiple values for this field setting. This is separator for each prefix.
    Display Item Format:

    Code:

    {VALUE}

    The Display Item Format setting will be displayed if we choose Yes in Allow multiple values for this field setting. This is the display format for each prefix.
    Formatting Map List:

    Code:

    Prefix 1{|}<a href="{$forumurl?}filtertf_prefix=Prefix 1"><span style="color: red;">Prefix 1</span></a>
    Prefix 2{|}<a href="{$forumurl?}filtertf_prefix=Prefix 2"><span style="color: green;">Prefix 2</span></a>
    Prefix 3{|}<a href="{$forumurl?}filtertf_prefix=Prefix 3"><span style="color: blue;">Prefix 3</span></a>


2. We need to edit our forumdisplay_thread template. The basic concept for this edit process is, adding {$GLOBALS['threadfields']['prefix']} variable into the forumdisplay_thread template. The prefix will be displayed wherever we put the variable in the template.

In this example, we will put the prefix before Thread Subject:
We can find this code in our forumdisplay_thread template (based on the default template):

HTML Code

<span>{$prefix} {$gotounread}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>


Then, add the {$GLOBALS['threadfields']['prefix']} variable. So, the code will be like this:
HTML Code

{$GLOBALS['threadfields']['prefix']} <span>{$prefix} {$gotounread}<a href="{$thread['threadlink']}" class="{$inline_edit_class} {$new_class}" id="tid_{$inline_edit_tid}">{$thread['subject']}</a>{$thread['multipage']}</span>


but my prefixes are not clickable
(This post was last modified: 08-23-2013 05:15 AM by rkrusty26.)
08-23-2013 05:14 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #2
RE: prefix are not clickable
(08-23-2013 05:14 AM)rkrusty26 Wrote:  tell me what to do
Throw your hands up in the air and give up.

My Blog
08-23-2013 11:39 AM
Find all posts by this user Quote this message in a reply
rkrusty26 Offline
Junior Member
**
Posts: 14
Joined: Aug 2013
Post: #3
RE: prefix are not clickable
(08-23-2013 11:39 AM)ZiNgA BuRgA Wrote:  
(08-23-2013 05:14 AM)rkrusty26 Wrote:  tell me what to do
Throw your hands up in the air and give up.


lol..... good reply as for fun. but now can you please give a little good reply which can help
(This post was last modified: 08-26-2013 02:15 AM by rkrusty26.)
08-26-2013 02:15 AM
Find all posts by this user Quote this message in a reply
ZiNgA BuRgA Offline
Fag
*******
Posts: 3,357
Joined: Jan 2008
Post: #4
RE: prefix are not clickable
Well... I thought that was pretty helpful and not particularly fun.
At least I tried.

Maybe your mouse doesn't work?  I suppose it wouldn't be clickable if the springs inside the device aren't working correctly.

My Blog
08-26-2013 03:49 PM
Find all posts by this user Quote this message in a reply

« Next Oldest | Next Newest »

 Standard Tools
Forum Jump: