Announcement

Collapse
No announcement yet.

Change position of Prefix and Poll texts in forumdisplay

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #2
    Noone knows how to do this?

    Example of what i mean:
    http://www.n4f.no/forum/forumdisplay.php?f=184

    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


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


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


        • #5
          Originally posted by vbStartup View Post
          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


          • #6
            Originally posted by M1ster-T View Post
            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


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


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

                Comment


                • #9
                  Originally posted by M1ster-T View Post
                  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


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


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


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


                        • #13
                          http://www.vbulletin.org/forum/showthread.php?t=169832

                          Code:
                          <a href="forumdisplay.php?$session[sessionurl]f=$thread[forumid]&prefixid=$thread[prefixid]"> $thread[prefix_rich]</a>



                          vbStartup.com: vBulletin 3.7 Styles | vBulletin Tutorials

                          Comment


                          • #14
                            Originally posted by vbStartup View Post
                            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


                            • #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 10th Jun '08, 9:14am.

                              Comment

                              Related Topics

                              Collapse

                              • Dominic
                                German: New poll for phrases
                                by Dominic
                                After the discussion has envolved, I just recreated the poll.



                                Please vote.
                                Channel = Kanal
                                9.52%
                                2
                                Channel = Bereich
                                4.76%
                                1
                                Channel = Channel
                                4.76%
                                1
                                Node = Knoten
                                9.52%
                                2
                                Node = Inhalt
                                0.00%
                                0
                                Node = Node
                                9.52%
                                2
                                Presentation Layer = Darstellungsebene
                                19.05%
                                4
                                Presentation Layer = öffentliche Ebene
                                0.00%
                                0
                                Presentation Layer = Darstellungsschicht
                                4.76%
                                1
                                Core Layer = Kernebene
                                23.81%
                                5
                                Core Layer = nichtöffentliche Ebene
                                4.76%
                                1
                                Core Layer = Hintergrundebene
                                0.00%
                                0
                                Core Layer = Kernschicht
                                4.76%
                                1
                                Core Layer = Hintergrundschicht
                                4.76%
                                1
                                Wed 8th May '13, 1:05pm
                              Working...
                              X