Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #21  
Old 02-23-2001, 01:31 PM
Guest
 
Posts: n/a
Default

To add the options into the vBulletin Control Panel do the following.

Take this out:
Code:
// News ForumID This is set to the Forumid of your news forum
$newsforum = 2; 
// News Limit -- How many stories should be displayed? 
$newslimit = 3;
And insert the following rows into your SettingsGroupTable.
Code:
INSERT INTO settinggroup VALUES ( NULL, 'vBPortal', '34');
Find SettingGroup ID for above.

And these into the Settings table:
Code:
INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) 
VALUES (NULL, '34', 'News Forum', 'newsforum', '2', 'Enter the forum you wish to use for announcements and news for your Community Portal', '', '1') 
INSERT INTO setting (settingid, settinggroupid, title, varname, value, description, optioncode, displayorder) 
VALUES (NULL, '34', 'News Limit', 'newslimit', '3', 'How many news articles do you wish to display on the Community Portal Page.', '', '2')
Make sure to change the '34' for settinggroupid to the appropriate value in the insert statements above so they show up correctly. You could have more or less setting groups depending on how many hacks you have installed.
Reply With Quote
  #22  
Old 02-23-2001, 01:33 PM
Guest
 
Posts: n/a
Default

I just wanted to say.. This is great and saves me about a weeks work. Thanks.
Reply With Quote
  #23  
Old 02-23-2001, 04:14 PM
Guest
 
Posts: n/a
Default

wluke
Thanks for the tip, I'm going to try it today! and about vBShell it's of course not as good as you or the other hackers here could do, I'm just learning but it's a start, any ideas are appreciated very much...

BTW... Dark_Wizard has teamed with me on the project and he is just about done with the VB admin cp integration for the side blocks and addons administration...
Reply With Quote
  #24  
Old 02-23-2001, 05:28 PM
Guest
 
Posts: n/a
Default

Well I got it installed today and while I haven't gone through the actual code, the implementation of it is very good (templates, integration, etc). I have to play with the templates and setup my left and right blocks before I move it to production but so far so good.

I most likely will be making a few changes over the next few weeks and turning it into a user-driven page. I'll share what developments I make in it.
Reply With Quote
  #25  
Old 02-23-2001, 07:06 PM
Guest
 
Posts: n/a
Default

Sounds great...
Reply With Quote
  #26  
Old 02-23-2001, 11:28 PM
Guest
 
Posts: n/a
Default

http://www.911pc.com/vbshell/index.php?action=forums

Wajone- i think this is your side, it seems to be corrupted, nothing is displayed in Netscape!!!!

The full code is delivered, but Netscape don't show me your Content... only IE

greetings
Reply With Quote
  #27  
Old 02-24-2001, 02:16 AM
Guest
 
Posts: n/a
Default

I know, Netscape doesn't like my styles.css I think, I'm working on a fix.
Reply With Quote
  #28  
Old 02-24-2001, 02:23 AM
Guest
 
Posts: n/a
Default

but it's most an error in table structure that makes this behavior of netscape not in the css file!
Check just the tables from that page's without any content with borders . Sometimes just an open " is enough for this browser..
Reply With Quote
  #29  
Old 02-24-2001, 02:44 AM
Guest
 
Posts: n/a
Default

Why do you open first a table without any table rows or table data, just a table about 99% with a cellspacing=8???
Quote:
< table border="0" cellpadding="1" cellspacing="8" width="99%" align="center" >
After adding < tr > & < TD >local, my netscape shows the page
Reply With Quote
  #30  
Old 02-24-2001, 05:41 AM
Guest
 
Posts: n/a
Default

Thanks, I deleted it. IE is very forgiving and I don't have Netscape any more, let me know how it looks if you would.
Reply With Quote
Reply

Thread Tools
Display Modes

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 03:14 AM.


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.04381 seconds
  • Memory Usage 2,243KB
  • Queries Executed 14 (?)
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
  • (3)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)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
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete