+ Reply to Thread
Page 1 of 8
1 2 3 ... LastLast
Results 1 to 15 of 106

Thread: How to make the postbit layout an user option

  1. #1
    Senior Member Brian Cruz is on a distinguished road Brian Cruz's Avatar
    Join Date
    Apr 2001
    Location
    Yonkers, NY
    Age
    31
    Posts
    159

    Please make the postbit layout a user option

    I really like having the user info above each post, but after upgrading my test board it seems that most of my admins and moderators prefer having it on the side. The debate will certainly be heated among my users when I upgrade my live board. Can't this be made a user option instead of a global one? That way everyone is happy.

    I'd also like an option for using a thread starter column in showthread, instead of having it appear under the thread title as it does now. I know this could be done as a template mod but making it a global option would be very helpful.
    Brian Cruz
    www.toonzone.net

  2. #2
    vBulletin Team Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke is a name known to all Wayne Luke's Avatar
    Join Date
    Aug 2000
    Location
    So. California
    Age
    39
    Posts
    35,150
    Blog Entries
    1
    You can do this with a hack or with a second style to make it a user option....

    To create a style with the user information on the left, just create a new child style of your default and copy the contents of "Postbit_legacy" into the postbit template. Then make the style user selectable.
    Wayne Luke
    Get started with your own social network.
    Purchase and download vBulletin today.
    vBCodex (Running vB 4.0 Suite) - Take your vBulletin Community to the next level. Modification tips, tricks and support.

  3. #3
    vBulletin Developer Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham's Avatar
    Join Date
    May 2000
    Location
    California
    Age
    36
    Posts
    13,962
    Blog Entries
    16
    I'll show you how to do it without hacking your forum shortly.
    vBulletin Developer since Dec 2000

  4. #4
    Senior Member Brian Cruz is on a distinguished road Brian Cruz's Avatar
    Join Date
    Apr 2001
    Location
    Yonkers, NY
    Age
    31
    Posts
    159
    Quote Originally Posted by Wayne Luke
    You can do this with a hack or with a second style to make it a user option....

    To create a style with the user information on the left, just create a new child style of your default and copy the contents of "Postbit_legacy" into the postbit template. Then make the style user selectable.
    I understand what you mean, but on my site each forum has it's own individual style. None of them are user-selectable because each style is intended for one particular forum. So in my case making it a user option is the best solution. I'm sure there'll be a hack for this eventually, but please consider making it a standard option.
    Brian Cruz
    www.toonzone.net

  5. #5
    vBulletin Developer Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham's Avatar
    Join Date
    May 2000
    Location
    California
    Age
    36
    Posts
    13,962
    Blog Entries
    16
    (1) Create a new Custom Profile Field of the your choosing (yes/no / radio / select). I am going to use a single-selection menu for this demo. I put in two options "Top" and "Left". At the very bottom of the custom profile edit page, set the Display Page option to Options: Thread Viewing. Submit your new profile field.

    (2) Now you are redirected to your list of custom profile fields. Find the new field you selected and note its Name. Mine is called field66 for example.

    (3) Then I placed this in my phpinclude_start template:
    PHP Code:
    if ($bbuserinfo['field66'] == 'Left')
    {
      
    $vboptions['legacypostbit'] = 1;

    Now everyone will default to top style but can choose left style in their User CP. You can adjust the code to default everyone to left style by enabling the vboption for legacy postbit and then changing the above code to:
    PHP Code:
    if ($bbuserinfo['field66'] == 'Top')
    {
      
    $vboptions['legacypostbit'] = 0;

    vBulletin Developer since Dec 2000

  6. #6
    Senior Member Bad Bunny is on a distinguished road Bad Bunny's Avatar
    Join Date
    Apr 2002
    Location
    Louisville, KY
    Posts
    428
    Thanks! I knew it could be done, but this saved some work trying to figure it out! This should be stickied somewhere!

  7. #7
    vBulletin Developer Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham's Avatar
    Join Date
    May 2000
    Location
    California
    Age
    36
    Posts
    13,962
    Blog Entries
    16
    Quote Originally Posted by Bad Bunny
    Thanks! I knew it could be done, but this saved some work trying to figure it out! This should be stickied somewhere!
    This sort of thing is the very reason I put in the ability for you to assign custom profile fields to show up under User Options in the usercp in addition to User Profile fields.
    vBulletin Developer since Dec 2000

  8. #8
    Senior Member Brian Cruz is on a distinguished road Brian Cruz's Avatar
    Join Date
    Apr 2001
    Location
    Yonkers, NY
    Age
    31
    Posts
    159
    Thanks so much Freddie, that works perfectly.

    I suppose the thread starter column will remain a template mod rather than a global option? I much prefer the old look in this case. It's confusing because other forums put the thread description in that area.
    Brian Cruz
    www.toonzone.net

  9. #9
    Cool, thanks Freddie.

  10. #10
    Senior Member P.Jackson has disabled reputation
    Join Date
    Dec 2002
    Location
    Newcastle,Uk
    Age
    28
    Posts
    425
    can we get a step by step screenshot how to do it?

  11. #11
    Senior Member Chaotic Reality has disabled reputation
    Join Date
    May 2003
    Location
    Phoenix, AZ
    Age
    26
    Posts
    386
    Quote Originally Posted by Freddie
    This sort of thing is the very reason I put in the ability for you to assign custom profile fields to show up under User Options in the usercp in addition to User Profile fields.
    I added a custom profile field for users to add their picture gallery, and people are to insert URL's in the profile field, is there a way I can make that custom field turn the URL's into actual links instead of text url's?

    Thanks.

    J.

  12. #12
    vBulletin Developer Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham's Avatar
    Join Date
    May 2000
    Location
    California
    Age
    36
    Posts
    13,962
    Blog Entries
    16
    Quote Originally Posted by Chaotic Reality
    I added a custom profile field for users to add their picture gallery, and people are to insert URL's in the profile field, is there a way I can make that custom field turn the URL's into actual links instead of text url's?

    Thanks.

    J.
    Yeah it would be possible but I don't think you want the overhead required to do it from phpinclude. I would go to vbulletin.org and ask for a hack to convert the text to url when it is submitted rather than trying to do it this way.
    vBulletin Developer since Dec 2000

  13. #13
    Member Slave has disabled reputation Slave's Avatar
    Join Date
    Jul 2001
    Location
    Peterborough, UK
    Age
    40
    Posts
    94
    Ahh .. COOL ..

    Thanks a lot ..

    One problem though .. the dropdown menu isn't in the right position, it should be aligned to the right like the one above it .. and is there a way of getting rid of the blank first option? (see image)

    Perhaps the positioning should be entered as a bug?
    Attached Images
    Last edited by Slave; Wed 10th Dec '03 at 2:06pm.
    It's a Savage Universe out there!

  14. #14
    vBulletin Developer Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham is just really nice Freddie Bingham's Avatar
    Join Date
    May 2000
    Location
    California
    Age
    36
    Posts
    13,962
    Blog Entries
    16
    I'll fix that position problem but as for the blank option, go back to your field and edit it and you'll see an option about not having a "first blank option".
    vBulletin Developer since Dec 2000

  15. #15
    Member Slave has disabled reputation Slave's Avatar
    Join Date
    Jul 2001
    Location
    Peterborough, UK
    Age
    40
    Posts
    94
    Ta Freddie ..
    It's a Savage Universe out there!

+ Reply to Thread
Page 1 of 8
1 2 3 ... LastLast

Similar Threads

  1. Suggestion to make PM Popup and Admin option instead of user option.
    By Grover in forum vBulletin Suggestions and Feedback
    Replies: 4
    Last Post: Mon 2nd Mar '09, 5:18pm
  2. How To Make the Postbit a User Option
    By Wayne Luke in forum vBulletin 3.0 Quick Tips and Customizations
    Replies: 1
    Last Post: Thu 29th Dec '05, 7:04pm
  3. Replies: 0
    Last Post: Sun 25th Jan '04, 5:55pm
  4. Make Custom Profile fields a user option
    By jilly in forum vBulletin Suggestions and Feedback
    Replies: 1
    Last Post: Tue 30th Dec '03, 11:51am

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts