Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 11-10-2015, 10:22 PM
Guitar Guy Guitar Guy is offline
 
Join Date: Feb 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Using vB Publishing Suite for Just CMS

Hey all, hope all is well.

This may seem an odd subject, but let me just preface everything before I ask my specific question.
I obtained vB several years back to use as a forum (obviously lol) but the sites did not end up going anywhere and the license ended up sitting around for a number of years.

Recently, there is a new opportunity that has presented itself and I have decided to start a sort of blog- initially, that is. Instead of dealing with Wordpress or one of those other templates, I figured "Hey! I have a license for this really flexible software, so I might as well use it!"

I plan on using the CMS section to publish the articles as blog posts (I know I'm reaaaaallllly underusing the software, but when things catch on, I'll enable the forum section again.

Anyways, so I installed vB (4.2.3) on the new site and disabled the blogs in the products and plugins section of vB and would now like to deactivate the "forum" and "what's new?" sections completely (with the ability to reenable them down the road) for the sake of simplicity. More specifically, I want the only tab available on the website to be the "articles" tab.

So how does one go about doing this? The answer's probably staring me right in the face, so excuse me while I bathe in a pool of ignorance here.

Thanks so much in advance!
Reply With Quote
  #2  
Old 11-10-2015, 10:45 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can't actually disable the forum, just kind of hide them, by removing all Categories & Forums, in the Forum manager.

In the ACP Navigation Manager, you can disable the tabs, by unchecking the Active box.
Reply With Quote
  #3  
Old 11-11-2015, 01:06 AM
Guitar Guy Guitar Guy is offline
 
Join Date: Feb 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, that works fine. Thank you very much!
Reply With Quote
  #4  
Old 11-14-2015, 10:14 PM
Guitar Guy Guitar Guy is offline
 
Join Date: Feb 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Okay, so instead of creating a new thread, I figured I'd pose my new questions here!

In line with the goals I stated above, I'd like to remove the yellow guest notification (the one that directs them to a FAQ and to register) from the forum. If I'm using this as a sort of blog initially, I don't want to have an irritating yellow block with text fending potential readers off.

I'd also like to hide the "log in" top link from anyone that is on cms section of the website if they aren't logged in. Seeing as this is the only section that would be publicly linked to and used, I wouldn't want anyone to log in there at all aside from me or the person I am working on this website with (again I do realize I'm severely under-using the software, but I have my reasons lol).

How would I go about doing those two things? Again, please excuse my ignorance and I hope you don't mistake my enthusiasm for being brusque. Oh and here is my website if you're at all curious what it is going to look like. I don't plan on activating the forums until the website builds traffic with the articles.

Regards
Reply With Quote
  #5  
Old 11-14-2015, 10:18 PM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. in ACP under Announcements, just disable/remove the one listed there.
2. You would have to use a plugin or template edit (put in an IF statement), in order to hide the login button
Reply With Quote
  #6  
Old 11-14-2015, 10:40 PM
Guitar Guy Guitar Guy is offline
 
Join Date: Feb 2010
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the prompt response! After the tip on disabling the announcement/notification- it took me 5 seconds to find it once you pointed it out.

Okay, so I found the section of code that's in the header, and there is no way I'd be able to create correct code to disable it on on cms (without breaking the internet) and only if you're not logged in (too many conditions for my rudimentary understanding). Saying my skills are basic is almost an understatement lol. At least now I know where to find it; I might see if I can get a coder to figure out something for me on a freelancer site.

Thank you again!
Reply With Quote
  #7  
Old 11-15-2015, 12:25 AM
Dragonsys's Avatar
Dragonsys Dragonsys is offline
 
Join Date: Jan 2008
Location: DFW, Texas
Posts: 743
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I don't have the full CMS so I do not know what the THIS_SCRIPT is for it, but open the content.php file and at the top look for THIS_SCRIPT. then in the template you found, surround the login button section with the below:

Code:
<vb:if condition="$THIS_SCRIPT != '[name]'>
CODE IS HERE
</vb:if>
replace [name] with what you found int he content.php file
Reply With Quote
  #8  
Old 11-15-2015, 08:08 AM
squidsk's Avatar
squidsk squidsk is offline
 
Join Date: Nov 2010
Posts: 969
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why would you want just the cms? There are plenty of better pure cms packages available, including free ones, instead of trying to customize a vbulletin install to get cms only.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 06:40 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03946 seconds
  • Memory Usage 2,234KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete