Go Back   vb.org Archive > vBulletin Modifications > vBulletin 4.x Modifications > vBulletin 4.x Add-ons

Reply
 
Thread Tools
Custom pages based on your vBulletin forum ! Details »»
Custom pages based on your vBulletin forum !
Version: 1.00, by AliMadkour AliMadkour is offline
Developer Last Online: Sep 2023 Show Printable Version Email this Page

Category: Miscellaneous Hacks - Version: 4.0.x Rating:
Released: 01-05-2010 Last Update: 01-05-2010 Installs: 66
Supported Uses Plugins
Additional Files  

Elsalam Alikom
Hi
with that Product you can make pages based on your vBulletin forum
just create a new template with prefix page_
ex:
when I create a template
page_Ali
the url of that page will be :
http://www.example.com/forum/pages.php?p=Ali

and you can also make a default fpage
edit template called pages_default
and write your own code !


Installing product :
Upload : pages.php to your vBulletin root folder
Install the xml file via AdminCP
Make it as Installed !
Enjoy

You can control the product from AdminCP->Settings->Options->Custom Pages
and you can also rename pages.php

Download Now

File Type: zip vb4-product-madkour_custom_pages.zip (108.1 KB, 549 views)

Screenshots

File Type: jpg ar-sc.jpg (38.9 KB, 0 views)
File Type: jpg en-sc.jpg (53.3 KB, 0 views)

Supporters / CoAuthors

Show Your Support

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

Comments
  #32  
Old 06-07-2010, 05:32 PM
BlueChipEarth's Avatar
BlueChipEarth BlueChipEarth is offline
 
Join Date: Apr 2009
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Lines 9 and 10 of pages.php have references to deprecated code ($HTTP_GET_VARS):

PHP Code:
$page= ("page_" $HTTP_GET_VARS[p]);
if(
$HTTP_GET_VARS[p] == ''
This will not work for newer PHP, so you have to change those lines to:

PHP Code:
$page= ("page_" $_GET[p]);
if(
$_GET[p] == ''
Thanks for this great mod!

Marked as installed!
Reply With Quote
  #33  
Old 03-06-2011, 01:54 PM
alexkohler alexkohler is offline
 
Join Date: Jan 2009
Location: Germany
Posts: 18
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

@BlueChipEarth:

Thank you for this small bugfix.

Works perfect now. (4.1.1)

Great mod.
Reply With Quote
  #34  
Old 08-13-2011, 09:49 PM
zeroality zeroality is offline
 
Join Date: Jul 2006
Posts: 187
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That was my problem as well!

Moved hosts and this mod stopped working. That PHP fix solved it, thanks.
Reply With Quote
  #35  
Old 09-10-2011, 02:19 PM
Rafa-el's Avatar
Rafa-el Rafa-el is offline
 
Join Date: Feb 2010
Location: Nicaragua
Posts: 170
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's possible to tweak the URL with a vBSEO url structure?
Have tried the vBSEO custom rewrite rules but I wonder if there's a way to do this without manually edits, at least not one by one.
Reply With Quote
  #36  
Old 10-09-2011, 05:10 AM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is it possible to have this page outside of the forum directory.

I tried modifying the page.php file line 30

PHP Code:
require_once('./global.php'); 
but I can not get it working.

Any assistance would be great
Reply With Quote
  #37  
Old 10-09-2011, 05:26 AM
HMBeaty's Avatar
HMBeaty HMBeaty is offline
 
Join Date: Sep 2005
Posts: 4,141
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tomshawk View Post
Is it possible to have this page outside of the forum directory.

I tried modifying the page.php file line 30

PHP Code:
require_once('./global.php'); 
but I can not get it working.

Any assistance would be great
Try adding this:
PHP Code:
chdir ('/path/to/your/forums'); 
Above:
PHP Code:
require_once('./global.php'); 
(I don't use this mod, so not quite sure if that will work or not)
Reply With Quote
Благодарность от:
tomshawk
  #38  
Old 10-09-2011, 05:39 AM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thank you HMBeaty, that worked like a charm.
Reply With Quote
Благодарность от:
HMBeaty
  #39  
Old 04-05-2012, 06:23 PM
tomshawk's Avatar
tomshawk tomshawk is offline
 
Join Date: Jul 2003
Location: California
Posts: 392
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, For anyone

I'm thinking I can use this add on but don't know for sure and would love some help.

I have a separate database outside of the vbulletin database.

I have a non-vbulletin programmer creating the database for me, he's a member of my site and doing it for free.

I'd like the results of the queries to show up on this page I create.

I assume there is something or many things special that will need to be done.

Can it be done with this add on or will I need to have a vbulletin programmer make the page or a seperate add on for this?
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 07:49 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.08232 seconds
  • Memory Usage 2,325KB
  • 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
  • (6)bbcode_php
  • (1)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
  • (9)post_thanks_box
  • (2)post_thanks_box_bit
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (9)post_thanks_postbit_info
  • (8)postbit
  • (3)postbit_attachment
  • (9)postbit_onlinestatus
  • (9)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
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete