Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
[Chris] Extra pages (Suite version) Details »»
[Chris] Extra pages (Suite version)
Version: 1.1.0, by Christos Teriakis Christos Teriakis is offline
Developer Last Online: Sep 2013 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.2.1 Rating:
Released: 04-19-2013 Last Update: 04-19-2013 Installs: 22
DB Changes Uses Plugins Auto-Templates
Additional Files Is in Beta Stage  
No support by the author.

*** ATTENTION ***
It needs the Suite version. Should not works with the Forum only version.



Please note that from
11 Aug 2013

you can get support only in my site

http://www.teriakis.com



Demo Page

I must admit that even if I've coded 20+ AddOns for vB4, my knowledge on using vBulletin is average. Maybe lower than average. Years now I never succeeded to use the CMS. Latelly I had a need to build several different pages by including on them CMS widgets. That's why I build this mod which is NOT CMS !!!. It uses the widgets to build pages where can exists in any section of your site.

But is powerful. Very powerful. If you put your imagination to work, then you can make miracles. Read on and you'll understand the reason.

1.- Page Layout

I'm using a grid of 4 rows (see the screenshot). These rows ara:
  1. Row 1 is full width and appears below the Breadcrumb.
  2. Row 2 has 3 columns:
    1. Left (User specified width)
    2. Center
    3. Right (User specified width)
  3. Row 3 has 2 columns:
    1. Left (50%)
    2. Right (50%)
  4. Row 4 is full width and appears just above the footer
Each block is a container of widgets. You can add any amount of widgets into these (7 in total) containers. This doesn't means that you must show all the blocks. eg if you don't want to show the Row1 block just don't add any widget there. Do you want to have more space for the page's main content? No problem. Let Left or Right (or both) containers at Row 2 empth. The page content will takes the full width.

2.- Features in a short
  • You can create an unlimited number of pages
  • You can copy the page's link and use it on Navigation manager to use your own menu structure.
  • You can even add the link to a page, so one page will links to another one. This is good in case that you want to have an article with chapters.
  • Every page can has different layout than the other, depending on how you want to use it.
  • Easy way to add a widget to container. See the screenshoots. On the right side are the available widgets while on the left are the selected ones. Double click to add, double click to remove (or click + - symbols). So easy.
  • You can re-arrange the position of widgets per page.
3.- Base Layout

Because is frustating to add the same widgets on every page (for those who wante a standard interface), there is the Base Layout. Design it as you want, and every time that you'll go to add a page this layout will be predefinied. But you're not lock on that layout. As I said, this is a base layout. So you can use it as base and then add or remove some more widgets. It saves your time.

4.- Page content

The page content appears on the top of Row 2 center container. You can prepare the content using the including HTML editor. I've modified this editor to do a task that I was unable to do with other ones. I mean to add an image keeping the original size, but on the article to show a smaller one (you can assign the width per image). This thumbnail is that will appears on the article but by clicking on it you can see in a lighbox popup the full image.

5.- Installation
  1. Upload all file inside the upload directory to your forum installation
  2. Open the file extrapages/editor/assetmanager/settings.php and adjust the paths.
  3. CMOD 777 the directories
    1. extrapages/editor/photos
    2. extrapages/editor/media
    3. extrapages/editor/files
    4. extrapages/editor/flash
  4. Login to your admincp and import product-extrapages.xml
  5. Set the General Settings
  6. Set your Base Layout. This is optional but is highly recommented.
  7. Start adding pages.
  8. Copy the page link and add it anywhere you want.
6.- SEO Urls

There is an option to turn on SEO friendly urls. In this case you must add the line below in your htaccee file:

RewriteRule ^page/([^/]*)/ ./pages.php?p=$1 [L,NC]

You can use another word instead of "page" but you must enter exactly the same word in your settings.

7.- TODOs (without any ETA due to lack of free time).
  1. Social media (eg Facebook like) to page
  2. Page rating (Positive/Negative) using the Hand-Up/Hand-Down System
  3. ....????...........
8.- Support
  1. 20:00 - 22:00pm GMT+3 Mon-Fri. This is the guarantee time even if I'll try to come a bit more often here.
  2. Only to those who have clicked installed
  3. Only to those who are not in my ignore list, simple because I can't read their messages and offcourse I don't plan to remove them from my ignore list.
  4. Only to questions that have not replied before. If you see that I've replied a newer question and bypassed yours it means that your question has replied before. Do a search to find it.
9.- Copyright

Since the time that DBTech released their Copyright Manager, I've removed my own copyrights. I found their action insulting me to maximum. Their wording "Site is powered by vBulletin AddOns and Modules by Dragonbyte Tech" (and not "Some parts of this site"), means that everything there is their own work, ignoring on the worst way the fact that there are 100's of other coders and designers who are supporting this community for years. So, I'm letting the glory to them. No copyrights from my side.


Christos Teriakis
aka ChrisTERiS

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
CAG CheechDogg, iiioroh, tbworld

Comments
  #2  
Old 04-20-2013, 12:28 PM
Draffi Draffi is offline
 
Join Date: Oct 2011
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Awesome!!!

Can i add true HTML inside the Main-Area?
Reply With Quote
  #3  
Old 04-20-2013, 01:30 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Draffi View Post
Awesome!!!

Can i add true HTML inside the Main-Area?
Yes sure. Use the HTML editor which comes with the mod to add any HTML you want.

Chris
Reply With Quote
Благодарность от:
Draffi
  #4  
Old 04-20-2013, 06:06 PM
Draffi Draffi is offline
 
Join Date: Oct 2011
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I installed this in my xampp-testarea. Looks like there is an error, when i call the page:

Fatal error: Call to a member function getContentTypeID() on a non-object in F:\xampp\htdocs\test\packages\vbcms\widget\categor ynavall.php on line 170
Reply With Quote
  #5  
Old 04-20-2013, 06:27 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Draffi View Post
I installed this in my xampp-testarea. Looks like there is an error, when i call the page:

Fatal error: Call to a member function getContentTypeID() on a non-object in F:\xampp\htdocs\test\packages\vbcms\widget\categor ynavall.php on line 170

What type of widget did you tried to add.? Widgets with widgettypeid = 1 (Navigatin Menu) and widgettypeid = 2 (Categories meny) are not working in non-native cms pages. But I have deactivated them from the list so they don't appear.

I've tried all other widgets coming with vb cms demo data plus some others that I found here and all of them are working well. You can see my demo page at:
http://www.christeris.net/dev42/page...xtra-page.html

But offcourse I can't check all widgets that are coming with other addons.

Chris
Reply With Quote
  #6  
Old 04-20-2013, 06:31 PM
mitch84 mitch84 is offline
 
Join Date: Mar 2008
Location: france
Posts: 516
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Draffi View Post
I installed this in my xampp-testarea. Looks like there is an error, when i call the page:

Fatal error: Call to a member function getContentTypeID() on a non-object in F:\xampp\htdocs\test\packages\vbcms\widget\categor ynavall.php on line 170
for me too!
Reply With Quote
  #7  
Old 04-20-2013, 06:36 PM
Draffi Draffi is offline
 
Join Date: Oct 2011
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I add only:

- Newest Articles
- Tags
- Calendar
- Categories (All Sections)

Nothing fancy, all is vb CMS-Suite stuff.

Edit: Maybe the error is using xampp?
Reply With Quote
  #8  
Old 04-20-2013, 07:31 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Draffi View Post
I add only:

- Newest Articles
- Tags
- Calendar
- Categories (All Sections)

Nothing fancy, all is vb CMS-Suite stuff.

Edit: Maybe the error is using xampp?
The categories is the one that causes the error. I need to check my code. I'm sure that I've removed them from the list of available widgets but as there are many widgets relevant to categories seems that I forgot something. For the moment, edit the page that you created and remove it from the layout. Also remove it from the Base Layout.
I'm working to be able to have these widgets available to list.

Chris
Reply With Quote
  #9  
Old 04-20-2013, 07:42 PM
Draffi Draffi is offline
 
Join Date: Oct 2011
Posts: 80
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@mitch84: What widgets do you add?

@ChrisTERiS: Thank you for the info - Would be nice, if you can find a solution...

A suggestion for further Version: The possibility to change the Grid from the base layout! (e.g. the row 2 footer, put above the page-content, under the row 1....)
Reply With Quote
  #10  
Old 04-20-2013, 07:44 PM
Christos Teriakis Christos Teriakis is offline
 
Join Date: Jul 2011
Location: Thessaloniki, Greece
Posts: 1,228
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There was a bug which allowed some category type widgets to appear in the list of the available widgets. Currently category widgets are not supporting. Please download version 1.1.0 and upload the file functions.php to extrapages/ directory. Finally import the product-extrapages.xml just to update the version nbr. There are no really changes on this file.
Reply With Quote
Reply

Thread Tools

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 12:22 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.07671 seconds
  • Memory Usage 2,320KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (4)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_onlinestatus
  • (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
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • 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