vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   Is it possible? (https://vborg.vbsupport.ru/showthread.php?t=255230)

HabboForum.NET 12-14-2010 09:36 PM

Is it possible?
 
Hiya, I'm wanting my vbulletin license to go to a new lenth of use, I'm wanting to use it as a collection of website links however I have no idea on how to modify the forum skin to make the changes I want, below are 2 pictures showing before the change and the new way I want it..
http://www.hosthabbo.net/images/view1.gif
http://www.hosthabbo.net/images/view2.gif

How do I change it so that the forum home shows "Owned by" "Launched" "Views" without the normal words? and How do I change it so that it shows the owner of them websites?

Also just to add "Website url" once clicked will direct you to their website.

BirdOPrey5 12-15-2010 12:19 AM

Well to make the website URL in Forum Manager you'd add a new forum and put the URL into both the Forum Title and the Forum Link fields. Your subforums will display as you have it in the photo if you go to vBulletin Options -> Forum Listing Display Options and set the depths on forumhome and forumdisplay to 2.

As for the other changes those would require extensive template modifications in forumbits... I will try some things and get back to you on that.

HabboForum.NET 12-15-2010 01:55 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2134048)
Well to make the website URL in Forum Manager you'd add a new forum and put the URL into both the Forum Title and the Forum Link fields. Your subforums will display as you have it in the photo if you go to vBulletin Options -> Forum Listing Display Options and set the depths on forumhome and forumdisplay to 2.

As for the other changes those would require extensive template modifications in forumbits... I will try some things and get back to you on that.

Thank you. :)

BirdOPrey5 12-15-2010 09:16 PM

OK I got the text for the forum owner/manager or whatever you want to display where the "Last Post Info" would otherwise have been shown...

You will need to edit the templates forumhome_forumbit_level2_post and forumhome_forumbit_level1_post, they are usually (nearly?) identical...

Change:
Code:

<td class="alt2">$forum[lastpostinfo]</td>
to:
Code:

<if condition="$forum[forumid] == 8">
          <td class="alt2">Owner: John Smith<br />Manager: Jane Doe</td>
          <else />
          <td class="alt2">$forum[lastpostinfo]</td>
          </if>

But change "8" to the forumid assigned to your link forum.
Obviously change the text "Owner: John Smith<br />Manager: Jane Doe" to your needs. The <br /> tag is what makes a new line when displayed in a web browser. You can use standard HTML to color the fonts like you had in your example image.

Make additional <if> statements for additional forum-links.

This is going to require a template edit each time you have to update the information so hopefully it's not something you need to do often. ;)

HabboForum.NET 12-16-2010 12:11 PM

Quote:

Originally Posted by BirdOPrey5 (Post 2134465)
OK I got the text for the forum owner/manager or whatever you want to display where the "Last Post Info" would otherwise have been shown...

You will need to edit the templates forumhome_forumbit_level2_post and forumhome_forumbit_level1_post, they are usually (nearly?) identical...

Change:
Code:

<td class="alt2">$forum[lastpostinfo]</td>
to:
Code:

<if condition="$forum[forumid] == 8">
          <td class="alt2">Owner: John Smith<br />Manager: Jane Doe</td>
          <else />
          <td class="alt2">$forum[lastpostinfo]</td>
          </if>

But change "8" to the forumid assigned to your link forum.
Obviously change the text "Owner: John Smith<br />Manager: Jane Doe" to your needs. The <br /> tag is what makes a new line when displayed in a web browser. You can use standard HTML to color the fonts like you had in your example image.

Make additional <if> statements for additional forum-links.

This is going to require a template edit each time you have to update the information so hopefully it's not something you need to do often. ;)

Thanks, But i'm wanting each forum link to display different owners =\ if that is at all possible? I don't want em to all show the same owner lol =\ I'm sure it's possible, even If I need to post a thread and just write the name "Frank" to make it show on each forum differently. =\

BirdOPrey5 12-16-2010 01:12 PM

Yes it is possible, each link will have it's own forum id number so you just make an extra conditional for each forum id... in VB3 you can't use "elseif" so you have to nest conditionals...
Explained here.

But basically for two different forums links you'd use:
Code:

          <if condition="$forum[forumid] == 8">
                <td class="alt2">Owner: John Smith<br />Manager: Jane Doe</td>
          <else />
                  <if condition="$forum[forumid] == 9">
                  <td class="alt2">Owner: Joe Johnson<br />Manager: Mary White</td>
                  <else />
                  <td class="alt2">$forum[lastpostinfo]</td>
                  </if>
          </if>

That would give you two forum links (forumid 8 and forumid 9) with 2 different owners/managers.


All times are GMT. The time now is 01:09 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01072 seconds
  • Memory Usage 1,736KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (5)bbcode_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete