Go Back   vb.org Archive > vBulletin 5 Connect Discussion > vB5 Programming Discussions
  #1  
Old 01-29-2014, 07:57 AM
vishwarajpoot vishwarajpoot is offline
 
Join Date: Jan 2014
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default how to add a custom pages

l am trying to add a custom page on my vbulletin 5 but l am not able to add it can anyone help me out in this ,
Reply With Quote
  #2  
Old 01-29-2014, 05:49 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What problem are you having? Site Builder > New Page > add modules > Save . Which of those steps are you having issues with?
Reply With Quote
  #3  
Old 01-30-2014, 01:35 PM
vishwarajpoot vishwarajpoot is offline
 
Join Date: Jan 2014
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

l need to include my php code with scripts and graph so l need to get the template where l can edit and add my js and css , but it is just making a page for me where l have different modules

--------------- Added [DATE]1391094455[/DATE] at [TIME]1391094455[/TIME] ---------------

l need to make a page with highcharts of some data in topics hence l need to add a custom page with header and footer of vbulletin and to add my custom codes to according to data to get the graph

--------------- Added [DATE]1391094497[/DATE] at [TIME]1391094497[/TIME] ---------------

can you please help me on this ??

--------------- Added [DATE]1391094572[/DATE] at [TIME]1391094572[/TIME] ---------------

can we have a time to have chat to sort this thing out as it is very necessary to me , as l think vb3 and vb4 are more compatible in adding custom pages but l think vb5 that l had purchased doesn't support this
Reply With Quote
  #4  
Old 01-30-2014, 05:29 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can put a php module on the page and add all your own php code.

If you purchased a vB5 Connect license, you do have the option to download/install vB3 or vB4 instead.
Reply With Quote
  #5  
Old 01-31-2014, 01:57 PM
vishwarajpoot vishwarajpoot is offline
 
Join Date: Jan 2014
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how to use the php module variables in the html module is there any trick, and l want to use php module just to extract and furnish variables and arrays but there is a bar of php module use to appear even when it is blank , how to hide it
Reply With Quote
  #6  
Old 05-30-2014, 08:03 PM
BowlingTracker BowlingTracker is offline
 
Join Date: May 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm trying to do pretty much the same thing. Is there any way to make the PHP module in site builder to NOT be collapsible?

If I go this route, I'll have to restyle all my content, because of the way vB5 set's up their styles. But it may be worth it in the long run.
Reply With Quote
  #7  
Old 05-30-2014, 10:47 PM
Lynne's Avatar
Lynne Lynne is offline
 
Join Date: Sep 2004
Location: California/Idaho
Posts: 41,180
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can use CSS to 'hide' the arrow for the module.

HTML Code:
.canvas-layout-container .canvas-widget[data-widget-id="xxx"] .widget-header .module-buttons .module-button-item span {display: none;}
change xxx to the data-widget-id for the module (found in the page source).
Reply With Quote
  #8  
Old 05-31-2014, 04:59 AM
BowlingTracker BowlingTracker is offline
 
Join Date: May 2014
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Lynne View Post
You can use CSS to 'hide' the arrow for the module.

HTML Code:
.canvas-layout-container .canvas-widget[data-widget-id="xxx"] .widget-header .module-buttons .module-button-item span {display: none;}
change xxx to the data-widget-id for the module (found in the page source).
Thanks.. that worked.. but then I couldn't edit or even delete that widget, because the buttons are gone in edit mode. lol

I had to update the html directly in the database to undo it. I guess I can still use it and just know that if i need to edit it, it has to be done directly in the database.

I'd also like to get rid of the horizontal line and the frame around the widget. I'll see if i can figure out the css for it tomorrow.

Thanks again.
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 06:17 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.04094 seconds
  • Memory Usage 2,220KB
  • Queries Executed 11 (?)
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
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)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_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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete