Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)

Reply
 
Thread Tools Display Modes
  #11  
Old 11-23-2005, 01:12 AM
bulbasnore bulbasnore is offline
 
Join Date: Dec 2004
Posts: 95
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Logician
If you have used this hack in vbulletin 3.0.x and now waiting for 3.5.0 version, can you please post here and let me know whether you have already ported your board for 3.5.0 or are you still on 3.0.x until I release the hack?

? ?Outside variables? are removed from the hack as it is confusing for novice users and redundant for expert users. Someone who needs to pass outside variables to the webtemplate can use PHPINCLUDE field of webtemplate to clean and process variables in the vbulletin way. Eg.

$vbulletin->input->clean_array_gpc('r', array(
'my_variable_1' => TYPE_STR,
'my_variable_2' => TYPE_INT,
));
Yes. I've done the biggest chunk of work in WebTemplates and need to wait for 3.5 version.

It will be an extension, no?

Also, the part about external variables is one I'll have to relearn. Our current price guide is all about external variables. I hope that the include will be per-page and not global as in vBulletin?
Reply With Quote
  #12  
Old 11-23-2005, 02:34 AM
bhxtyrant bhxtyrant is offline
 
Join Date: Jun 2005
Posts: 205
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This may be a dumb question but what exactly is webtemplates?
Reply With Quote
  #13  
Old 11-23-2005, 06:00 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bulbasnore
It will be an extension, no?
Pluggin? Yes. It can be installed without modifying vbulletin code.

Quote:
Also, the part about external variables is one I'll have to relearn. Our current price guide is all about external variables. I hope that the include will be per-page and not global as in vBulletin?
Yes it will be perpage as it was before. All you need to do is to add the snippet I quoted above to your phpinclude field of your webtemplate. I believe using

$_GET[variablename]
$_POST[variablename]

for your outside variables should also work.

Quote:
This may be a dumb question but what exactly is webtemplates?
It is Content Management System for vbulletin. You can find its link in my profile.
Reply With Quote
  #14  
Old 11-23-2005, 05:21 PM
fn9mm fn9mm is offline
 
Join Date: Oct 2005
Posts: 45
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Subscribed and waiting *desperatly* for release
Reply With Quote
  #15  
Old 11-24-2005, 12:07 AM
winky6 winky6 is offline
 
Join Date: Nov 2001
Location: Boston
Posts: 42
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I upgraded to 3.5 just after reading you were workin on this.

I can't wait. :banana: :banana: :banana:
Reply With Quote
  #16  
Old 11-24-2005, 05:14 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be glad if some experienced users install the hack and give me some feedback about the new version. If you are interested, please provide me with your email address and I'll be sending you the hack in a few days. Just one kindly request : Please do not ask, if you are not going to install it or send me feedback. ^^

Obviously you need to have a 3.5.x board (real board or a test board) to test the 3.5.x version.

Thanks!

Ps. New version coded as a plugging with phrase support (for user interfaces) and can be installed/uninstalled to your board very easily without modifying any vbulletin .PHP files.
Reply With Quote
  #17  
Old 11-25-2005, 03:07 PM
outlaw621's Avatar
outlaw621 outlaw621 is offline
 
Join Date: Oct 2004
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logician,
Current results for Beta Test on VB 3.5.1 upgraded board.

1-Installed fine
2-Uninstalled fine
3-Export and Import of old 3.0.x webtemplates worked very well
4-Editing interface in ACP working well

I have only noticed one problem so far. When you edit a webtemplate and save the changes, you get the following error message:
Quote:
Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /admincp/wt_wt.php on line 396

Warning: strtotime() [function.strtotime]: Called with an empty time parameter. in /admincp/wt_wt.php on line 397
The changes still take effect despite the above error message.

Logician,
I received your email. The new wt_wt.php file fixed the above error I reported. Everything seems to be working correctly now.
Reply With Quote
  #18  
Old 11-30-2005, 05:10 PM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Project Update:

I've finished coding the hack, tested it on my own, prepared the help documents etc. so it is ready for the release. ATM. I'm just testing it in different boards to make it bug free in all enviroments. I've sent the hack to people who requested it and waiting for feedback from them (some already returned to me). I also need to write hack thread info, FAQ etc. so I believe I'll release it officially in 10-15 days.

If you are in hurry and want to have it now, PM your email address to me and I'll send you the hack together with the instructions.
Reply With Quote
  #19  
Old 11-30-2005, 05:18 PM
outlaw621's Avatar
outlaw621 outlaw621 is offline
 
Join Date: Oct 2004
Posts: 71
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Logician,
All updates have been applied and everything seems to be working correctly. I have not seen any new errors.
Reply With Quote
  #20  
Old 12-12-2005, 07:32 PM
Alfa1's Avatar
Alfa1 Alfa1 is offline
 
Join Date: Dec 2005
Location: Netherlands
Posts: 3,537
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What is the status now? I can't wait to try this out. Many thanks in advance!
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:21 PM.


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.04249 seconds
  • Memory Usage 2,251KB
  • Queries Executed 13 (?)
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
  • (5)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)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
  • 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