Change position of Prefix and Poll texts in forumdisplay

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • WildEye
    Senior Member
    • Jan 2004
    • 140
    • 3.7.x

    Change position of Prefix and Poll texts in forumdisplay

    I need some help figuring out how to change the position of <poll> and <prefix> when looking at a forum.

    I've started using mandatory prefixes in some forums, and the polls phrase is breaking things up badly.

    The way things are per default:
    <Sticky> <Poll> <Prefix> <Threadtitle> <page count> etc.

    Having the <Poll> phrase after <Prefix> would help alot. I have been trying to modify this in a clean style all weekend to no luck.

    ie:
    <Sticky> <Prefix> <Poll> <Threadtitle> <page count> etc.

    Anyone have any tips? Or does it require more complex hacks => vb.org?

    Thanks
    WildEye
  • WildEye
    Senior Member
    • Jan 2004
    • 140
    • 3.7.x

    #2
    Noone knows how to do this?

    Example of what i mean:


    Change the language to english (standard is norwegian to see the english phrases).

    The poll phrase in front of the prefix is very confusing imho, when you have mandatory thread prefixes in forums.

    Comment

    • M1ster-T
      New Member
      • Apr 2005
      • 11

      #3
      Hey..

      I search it too, its very strange but i search for thats the prefix is in a extra column "Prefix" still the same with the old "Thread-prefix-Hack" from 3.6.x

      any1 have a idea?

      thanks in advance...

      Comment

      • vbStartup
        Senior Member
        • Oct 2005
        • 114
        • 3.6.x

        #4
        Find $thread[typeprefix] on line 49 of the threadbit template and move it after $thread[prefix_rich] on line 51.
        vbStartup.com: vBulletin 3.7 Styles | vBulletin Tutorials

        Comment

        • M1ster-T
          New Member
          • Apr 2005
          • 11

          #5
          Originally posted by vbStartup
          Find $thread[typeprefix] on line 49 of the threadbit template and move it after $thread[prefix_rich] on line 51.
          Thanx, for this help or hint.. you have any idea, with the extra field btw column? for prefix

          Comment

          • vbStartup
            Senior Member
            • Oct 2005
            • 114
            • 3.6.x

            #6
            Originally posted by M1ster-T
            Thanx, for this help or hint.. you have any idea, with the extra field btw column? for prefix
            Sorry, I don't understand what you're asking. Could you rephrase?
            vbStartup.com: vBulletin 3.7 Styles | vBulletin Tutorials

            Comment

            • M1ster-T
              New Member
              • Apr 2005
              • 11

              #7
              Hello vbStartup,

              Sorry for my bad english, i will the Prefix in a extra field btw. collumn.

              look @ Screenshop

              Thankx in Advance
              Attached Files

              Comment

              • thientu83
                New Member
                • May 2008
                • 1
                • 3.7.x

                #8
                i am looking for the same thing here...i cant seem to get this features.....please help...

                Comment

                • vbStartup
                  Senior Member
                  • Oct 2005
                  • 114
                  • 3.6.x

                  #9
                  Originally posted by M1ster-T
                  Hello vbStartup,

                  Sorry for my bad english, i will the Prefix in a extra field btw. collumn.

                  look @ Screenshop

                  Thankx in Advance
                  So you're looking to move the prefix to its own column or you're looking to move the prefix from its own column to its default position in 3.7?
                  vbStartup.com: vBulletin 3.7 Styles | vBulletin Tutorials

                  Comment

                  • M1ster-T
                    New Member
                    • Apr 2005
                    • 11

                    #10
                    Hey,

                    I looking for i can move the prefix to a own column...


                    That the VB 3.7 Standard

                    | ICON | PREFIX - THREADTITEL | POSTED BY | REPLYS | HITS

                    and i'll a own column for the prefix like this..

                    | ICON | PREFIX | THREADTITEL | POSTED BY | REPLYS | HITS

                    Thanx in Advance

                    Comment

                    • vbStartup
                      Senior Member
                      • Oct 2005
                      • 114
                      • 3.6.x

                      #11
                      First edit the threadbit template. Find

                      Code:
                          <if condition="$show['threadicons']">
                              <td class="alt2"><if condition="$show['threadicon']"><img src="$thread[threadiconpath]" alt="$thread[threadicontitle]" border="0" /><else />&nbsp;</if></td>
                          </if>
                      Add after

                      Code:
                      <if condition="THIS_SCRIPT == 'forumdisplay'">
                      <td class="alt1">$thread[prefix_rich]</td></if>
                      Next find

                      Code:
                      $thread[prefix_rich]
                      Replace with

                      Code:
                      <if condition="THIS_SCRIPT != 'forumdisplay'">$thread[prefix_rich]</if>
                      Next edit the FORUMDISPLAY template

                      Find

                      Code:
                      <if condition="$show['search_engine']">
                          <if condition="$show['threadicons']">
                              <td class="thead" colspan="2">&nbsp;</td>
                          <else />
                              <td class="thead">&nbsp;</td>
                          </if>
                      Add after

                      Code:
                      <td class="thead">Prefix</td>
                      Next find

                      Code:
                      <else />
                          <if condition="$show['threadicons']">
                              <td class="thead" colspan="2">&nbsp;</td>
                          <else />
                              <td class="thead">&nbsp;</td>
                          </if>
                      Add after

                      Code:
                      <td class="thead">Prefix</td>
                      Finished Screenshot: http://www.grabup.com/uploads/dcee30...ac8d7cfb39.png
                      vbStartup.com: vBulletin 3.7 Styles | vBulletin Tutorials

                      Comment

                      • M1ster-T
                        New Member
                        • Apr 2005
                        • 11

                        #12
                        Wow vbStartup,

                        You are really great ) you made my day... so thank you very much =) love you :-*

                        but a little Question i have, whats the command for Sorted by Prefix? like Thread / Threadstarter?..

                        Comment

                        • vbStartup
                          Senior Member
                          • Oct 2005
                          • 114
                          • 3.6.x

                          #13
                          Forum Display Enhancements - Clickable, Sortable Prefixes vBulletin 3.7 Template Modifications


                          Code:
                          [COLOR=#000000][COLOR=#007700]<[/COLOR][COLOR=#0000BB]a href[/COLOR][COLOR=#007700]=[/COLOR][COLOR=#DD0000]"forumdisplay.php?$session[sessionurl]f=$thread[forumid]&prefixid=$thread[prefixid]"[/COLOR][COLOR=#007700]> [/COLOR][COLOR=#0000BB]$thread[/COLOR][COLOR=#007700][[/COLOR][COLOR=#0000BB]prefix_rich[/COLOR][COLOR=#007700]]</[/COLOR][COLOR=#0000BB]a[/COLOR][COLOR=#007700]>[/COLOR][/COLOR]



                          vbStartup.com: vBulletin 3.7 Styles | vBulletin Tutorials

                          Comment

                          • WildEye
                            Senior Member
                            • Jan 2004
                            • 140
                            • 3.7.x

                            #14
                            Originally posted by vbStartup
                            Find $thread[typeprefix] on line 49 of the threadbit template and move it after $thread[prefix_rich] on line 51.
                            Thank you very much!

                            Comment

                            • M1ster-T
                              New Member
                              • Apr 2005
                              • 11

                              #15
                              Hello vbStartup,

                              I have a little Question, i will a complete url with prefix in forumhome, but i dont find nothing..

                              Example:

                              vB Standard:

                              ICON | SECTIONAME | PREFIX - URLTOTHREAD | THREADS | POST | MODERATOR

                              Thats was i want

                              ICON | SECTIONAME | PREFIX - URLTOTHREAD | THREADS | POST | MODERATOR

                              You can help me?

                              Thanks in Advance


                              //Edit:

                              And I have a Problem, i have the prefix in column <center> when i go to search for own thread, the prefix are <center> to.. in the search results.. :/
                              Last edited by M1ster-T; Tue 10 Jun '08, 9:14am.

                              Comment

                              Related Topics

                              Collapse

                              Working...