Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Content Pages for vB 4.0 Details »
Content Pages for vB 4.0
Mod Version: 1.1.0, by ccampo (Coder) ccampo is offline
Developer Last Online: Aug 2019 I like it Show Printable Version Email this Page

vB Version: 4.0.3 Rating: (8 votes - 4.63 average) Installs: 39
Released: 28 Mar 2010 Last Update: 16 Oct 2012 Downloads: 295
Not Supported DB Changes Uses Plugins Template Edits Auto-Template Additional Files Re-usable Code Translations  

Content pages is the result of a need for a module that would handle normal TEXT, HTML and/or PHP pages within vBulletin, this need came after an old web site I was helping to administer switched from phpBB and phpNuke to vBulletin, after the migration lots of content pages were not migrated and there was not an easy way to achieve that either and these content pages were needed as they contain valuable information for the club. I searched for a similar mod that can handle this kind of information but couldnít find any that would fit the needs of that site, so I decided to create my own and share it as freeware so everybody can benefit from it.

The power of this MOD lays in the fact that it can accept PHP, HTML and/or TEXT as the content for the page, so the use of this MOD is almost unlimited with almost no restriction.

Before adding your pages, please make sure they work as expected on a simple PHP, HTML or TEXT page without any error, making sure all tags are properly closed, and that the page do not contain tags which may affect your overall vBulletin style. You may apply any local style, though, but make sure those new css styles will not interfere with the original vBulletin styles.

Once the page has been tested as a basic php, html or text page you can just add a content page and paste the php/html/text code into the content of the new page, the same apply to the signature of the page which can also be a php, html or text code and it is appended to the content page at the end before rendering the page, the content and the signature are considered to be from the same type.

Features:
- Manage Content Pages
- PHP, HTML and TEXT pages supported
- Navtab plugin
- vB4.0.x compatible

Take a look at the contentpages-v1.0.0.pdf document included in the zip file for full description, installation and upgrade instructions.

I hope you like it.

Demo at :
http://www.o-r-c-a.com/forum/contpages.php

Latest version:
1.1.0 production

If you find bugs please let me know, I cannot dedicate to it 100%, but I can assure you Iíll find the time to fix any problem found, also if thereís any enhancement you think will be useful please also let me know and Iíll see what can I do to include it in a newer release.
This is my first vBulletin MOD, Iíve just started a couple of months ago when the club I am a member of acquired a vB 4.0 license, and prior to that I had no experience on this software, only as a user, not even moderator, on other forums.

Please remember to click "Mark as Installed" if you use this modification.
Also feel free to nominate this modification for the MOTM, and/or use the donate link provided (Support Developer).

Thanks to Dr.osamA for the Arabic translation.

Download Now

Only licensed members can download files, Click Here for more information.

Screenshots

Click image for larger version

Name:	cp_acp.jpg
Views:	803
Size:	81.2 KB
ID:	114820   Click image for larger version

Name:	cp_cats.jpg
Views:	1170
Size:	38.1 KB
ID:	114821   Click image for larger version

Name:	cp_tags.jpg
Views:	1297
Size:	33.5 KB
ID:	114822   Click image for larger version

Name:	cp_pages.jpg
Views:	1408
Size:	54.8 KB
ID:	114823  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Comments
  #2  
Old 28 Mar 2010, 02:16
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
I'd like to have a look at this, but...

Download Now

No Files Uploaded.
Reply With Quote
  #3  
Old 28 Mar 2010, 02:24
ccampo's Avatar
ccampo ccampo is offline
 
Join Date: Feb 2010
Real name: Cesar
Originally Posted by djbaxter View Post
I'd like to have a look at this, but...
You're too quick, zip file has been uploaded.
This is my first vB MOD, so I'm just learning where to put things.
I'll attach some screenshots once I figure out where to upload them.
Reply With Quote
  #4  
Old 28 Mar 2010, 02:29
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Would this install fine on 4.0 as well?
Reply With Quote
  #5  
Old 28 Mar 2010, 02:38
djbaxter djbaxter is offline
 
Join Date: Aug 2006
Location: Ottawa, Canada
Originally Posted by rammieone View Post
Would this install fine on 4.0 as well?
Thread title: Content Pages for vB 4.0

So I'm going to guess "yes".
Reply With Quote
  #6  
Old 28 Mar 2010, 02:39
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Originally Posted by djbaxter View Post
Thread title: Content Pages for vB 4.0

So I'm going to guess "yes".
But it also states vB Version: 4.0.2
Reply With Quote
  #7  
Old 28 Mar 2010, 02:50
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
I'm getting a database error when importing the product

Database error in vBulletin 4.0.2:

Invalid SQL:
CREATE VIEW `ffbg_cp_cats` (cp_catsid, title) AS
SELECT `cid`, `title` FROM `vb_contentpages_categories`;

MySQL Error : CREATE VIEW command denied to user 'database_username'@'localhost' for table 'ffbg_cp_cats'
Error Number : 1142
Request Date : Saturday, March 27th 2010 @ 08:47:01 PM
Error Date : Saturday, March 27th 2010 @ 08:47:01 PM
Script : http://www.mydomain.com/testforum/ad...=productimport
Referrer : http://www.mydomain.com.com/testforu...?do=productadd
IP Address : my.ip.address
Username : my_username
Classname : vB_Database
MySQL Version : 5.0.90-community
Reply With Quote
  #8  
Old 28 Mar 2010, 03:33
ccampo's Avatar
ccampo ccampo is offline
 
Join Date: Feb 2010
Real name: Cesar
Originally Posted by Junkie View Post
I'm getting a database error when importing the product

Database error in vBulletin 4.0.2:

Invalid SQL:
CREATE VIEW `ffbg_cp_cats` (cp_catsid, title) AS
SELECT `cid`, `title` FROM `vb_contentpages_categories`;

MySQL Error : CREATE VIEW command denied to user 'database_username'@'localhost' for table 'ffbg_cp_cats'
Error Number : 1142
Request Date : Saturday, March 27th 2010 @ 08:47:01 PM
Error Date : Saturday, March 27th 2010 @ 08:47:01 PM
Script : http://www.mydomain.com/testforum/ad...=productimport
Referrer : http://www.mydomain.com.com/testforu...?do=productadd
IP Address : my.ip.address
Username : my_username
Classname : vB_Database
MySQL Version : 5.0.90-community

Some web hosting providers revoke the "create view" privileges from users.
Talk to your web hosting providers and see if they can fix that for you.

Otherwise you can do that yourself, you just need to give your MySQL user the GRANT privilege like so.

GRANT CREATE VIEW ON *.* TO 'database_username'@'localhost' ;

You will need to be logged on as root or the main database user to do this.
Reply With Quote
  #9  
Old 28 Mar 2010, 03:36
ccampo's Avatar
ccampo ccampo is offline
 
Join Date: Feb 2010
Real name: Cesar
Originally Posted by rammieone View Post
Would this install fine on 4.0 as well?
I've tested this on 4.0.1, 4.0.2, 4.0.2 PL4 and it works in all of them, it should also work on the very base 4.0 version that was released.
Reply With Quote
  #10  
Old 28 Mar 2010, 03:58
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
I noticed from your demo site that the content pages stretch the original width of the forum pages. Can this be fixed?
Reply With Quote
  #11  
Old 28 Mar 2010, 04:02
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
Where exactly do I add - GRANT CREATE VIEW ON *.* TO 'database_username'@'localhost'? Is this something I have to do in phpMyAdmin? I have all of the database privileges (select, insert, update, delete, index, create temporary tables, create, alter, drop, lock tables, references and create routine) set to on
Reply With Quote
  #12  
Old 28 Mar 2010, 04:27
ccampo's Avatar
ccampo ccampo is offline
 
Join Date: Feb 2010
Real name: Cesar
Originally Posted by Junkie View Post
I noticed from your demo site that the content pages stretch the original width of the forum pages. Can this be fixed?
Yes, it can be fixed, in fact, it is now, you can see it for yourself in the same demo site. It was a problem with the template.
I'll release a fix once more problems are reported so I can fix them together and create a new version.
Reply With Quote
  #13  
Old 28 Mar 2010, 04:33
ccampo's Avatar
ccampo ccampo is offline
 
Join Date: Feb 2010
Real name: Cesar
Originally Posted by Junkie View Post
Where exactly do I add - GRANT CREATE VIEW ON *.* TO 'database_username'@'localhost'? Is this something I have to do in phpMyAdmin? I have all of the database privileges (select, insert, update, delete, index, create temporary tables, create, alter, drop, lock tables, references and create routine) set to on
See my reply above, here's again :
You will need to be logged on as root or the main database user to do this.

or talk to your host provider, they should be able to help you.
Reply With Quote
  #14  
Old 28 Mar 2010, 04:43
NFLfbJunkie NFLfbJunkie is offline
 
Join Date: Sep 2006
How did you fix the page width problem?
Reply With Quote
  #15  
Old 28 Mar 2010, 08:34
ProFifaLeagues's Avatar
ProFifaLeagues ProFifaLeagues is offline
 
Join Date: Aug 2009
Real name: Rob
Originally Posted by ccampo View Post
I've tested this on 4.0.1, 4.0.2, 4.0.2 PL4 and it works in all of them, it should also work on the very base 4.0 version that was released.

Many thanks
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 16:04.

Layout Options | Width: Wide Color: