Go Back   vb.org Archive > vBulletin Modifications > Archive > vB.org Archives > vBulletin 3.0 > vBulletin 3.0 Full Releases
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Content Management System - Baisic v1.0.0 Details »»
Content Management System - Baisic v1.0.0
Version: 1.00, by Zero Tolerance Zero Tolerance is offline
Developer Last Online: Nov 2023 Show Printable Version Email this Page

Version: 3.0.3 Rating:
Released: 07-26-2004 Last Update: Never Installs: 27
 
No support by the author.

Well, this may be the wrong sub forum for this... but as vbAdvanced got in here, i might aswell push this in..lol.

Anyway, this is a baisic Content Management System. You can add any pages you want, and categorize these page's, the cms page will show the categories, and then below a drop down menu with all the page's it contains (if any) [This was the stop huuuuge navigation bars]

It's fairly simple, but yet may be of use, you may add any page's you wish with any html you desire

Anyway, enjoy, use it if you want =P

- Zero Tolerance

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #22  
Old 07-31-2004, 09:05 AM
lichtflits's Avatar
lichtflits lichtflits is offline
 
Join Date: Feb 2002
Location: The Netherlands
Posts: 58
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Now you shoud start adding options like news or just make the php inlcude work in the templates. :P
Reply With Quote
  #23  
Old 07-31-2004, 02:50 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A feedback on suggestions would be a good start

Here's the changes to convert the dropdown box to an unordered list (as seen here):

Open cms.php and find
Code:
  $pages.="<b>{$cats['category_name']}</b><br/><select onchange='javascript:doRedirect(this.options[this.options.selectedIndex].value);' class='bginput'><option value=''>Select A Page</option>";
replace it with
Code:
  $pages.="<b>{$cats['category_name']}</b><br/><ul>";
Now find
Code:
 $pages.="<option value='cms.php?{$session[sessionurl]}view={$page['page_var']}' selected>{$pagex['page_name']}</option>\n";
and replace it with
Code:
 $pages.="<li id=\"active\"><a href='cms.php?{$session[sessionurl]}view={$page['page_var']}'>{$pagex['page_name']}</a></li>\n";
And now find:
Code:
  $pages.="<option value='cms.php?{$session[sessionurl]}view={$page['page_var']}'>{$pagex['page_name']}</option>\n";
and replace it with
Code:
 $pages.="<li><a href='cms.php?{$session[sessionurl]}view={$page['page_var']}'>{$pagex['page_name']}</a></li>\n";
now find:
Code:
  $pages.="</select><br/>";
and replace it with
Code:
  $pages.="</ul><br/>";
Done
Reply With Quote
  #24  
Old 07-31-2004, 10:12 PM
opus opus is offline
 
Join Date: Feb 2002
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

that list wouldn't be cool if someone ran a site with like 50 articles in 7 different categories.
Reply With Quote
  #25  
Old 08-01-2004, 01:11 PM
MrNase MrNase is offline
 
Join Date: May 2003
Location: Germany
Posts: 670
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You could modify that list with CSS so that it uses less space

That list is meant as an alternative to that select box this hack uses by default. You are right, not everybody can use it but Iam sure some of you will
Reply With Quote
  #26  
Old 10-30-2004, 01:02 AM
blue_chi blue_chi is offline
 
Join Date: Feb 2004
Location: Oman
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am having a problem with the page. I tried using a php include template to include external pages to my CMS page, but I am getting some junk code around, could someone please help me at this thread..

https://vborg.vbsupport.ru/showthread.php?t=71153
Reply With Quote
  #27  
Old 11-11-2004, 09:36 AM
blue_chi blue_chi is offline
 
Join Date: Feb 2004
Location: Oman
Posts: 39
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this and now I love it.
Reply With Quote
  #28  
Old 12-18-2004, 11:25 PM
jluerken's Avatar
jluerken jluerken is offline
 
Join Date: Aug 2003
Location: Germany
Posts: 1,016
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by blue_chi
I installed this and now I love it.
Can this version be updated to use table prefixes?
Reply With Quote
  #29  
Old 03-14-2005, 09:04 PM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to implement previous next?
Reply With Quote
  #30  
Old 07-17-2005, 12:59 AM
mikehawk's Avatar
mikehawk mikehawk is offline
 
Join Date: May 2004
Posts: 109
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Holy crap, is there a working demo so I can see this? I thank no tolerance for making this hack, but jesus, someone post a good link to see this bad boy in action.
Reply With Quote
  #31  
Old 09-15-2005, 12:46 AM
MRGTB MRGTB is offline
 
Join Date: Dec 2004
Posts: 548
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed a cms that uses a drop download menu. I think there is some code in the the two queries I ran that have some bearing to the drop down menu.


Here are the two queries:

Code:
CREATE TABLE `cms_categories` (

  `cid` int(15) NOT NULL auto_increment,

  `category_name` varchar(255) NOT NULL default '',

  PRIMARY KEY  (`cid`)

) TYPE=MyISAM;
and this:

Code:
CREATE TABLE `cms_pages` (

  `pid` int(15) NOT NULL auto_increment,

  `page_name` varchar(255) NOT NULL default '',

  `page_var` varchar(255) NOT NULL default '',

  `page_content` text NOT NULL default '',

  `page_content_un` text NOT NULL default '',

  `cat` int(15) NOT NULL default '0',

  PRIMARY KEY  (`pid`)

) TYPE=MyISAM;

What I want to know is this. What do the three numer "15" listed in the two queries do and what do they refer too?

Because in the cms.php file I have changed the two number 14 to 27 that controls how long your text can be in the Drop Down Menu's before they are replaced with "...", So I can display longer names in the drop down menu.

Do I also have to alter them numbers also in the queries.

Because the standard length in the cms.php file was 14 and the queries 15. Does this mean if I changed it to 27 in the cms.php file, I have to change the querie numbers from 15 to 28.
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 05:27 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.08611 seconds
  • Memory Usage 2,310KB
  • Queries Executed 27 (?)
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
  • (10)bbcode_code
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete