Go Back   vb.org Archive > vBulletin 4 Discussion > vB4 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 04-28-2012, 01:07 PM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Freeing the variables

One of the most important things in this current internet environment is to be able to turn on a dime to keep up and/or surpass others, particularly facebook, twitter, pinterest, etc, etc, etc..

Is there some script, include, product, htaccess, or plugin that will allow all vbulletin variables to be displayed above the forum directory? With the current setup, to be able to display variables outside the forum directory, by the time a plugin and template has been created, the need for it has passed. I know about vbadvanced, but I have had an existing website for years before it existed, and my site structure is already in place.

Has anything been written to allow us to just copy and paste a line of code into a normal html or php page outside the forum directory to call a variable or one of the smaller templates like the postbit? The ability to do this without having to install more products or plugins, then edit or create templates in the admin panel would be great.

I'm hoping that with such a popular product as vb, it's longevity and creative users, this has been done, and I just can't find it. To me, it seems a product that simply adjusts the forum path to be public_html/forum (or whatever you want) instead of all paths considering the forum directory to be the root. Or even if it isn't easy, the benefits seem worth it to put in some time for this.

Does anyone know if this already exists or if anyone is working on something like this?
Reply With Quote
  #2  
Old 04-28-2012, 01:11 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Not sure exactly what you want - is it that you want to pull some info from vbulletin and use it on an external page? Which info are you talking about?
Reply With Quote
  #3  
Old 04-28-2012, 01:57 PM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello Kh99

I would like to have the freedom to display anything anywhere, on the site really.

Here are a couple of examples off the top of my head, but the main point I'm trying to make is to have the flexibilty to use anything anywhere quickly.

Personal Welcome block
Happy Birthday kh99!
display a Welcome kh99! message and show your avatar
You have 3 friend requests
There are 5 new topics your subscribed forms.
liz 894 beat your Mario high score.

Tournaments Block
There are 6 tournaments waiting for players.
You are still in the Pacman Tournament
Timmy is the new Checkers Champion

Misc Block
Timmy is the new Checkers Champion
There are currently 8 people in the arcade
There are currently 108 active users online
bimbo95, timmy, mamama

Be able to incorporate the dropdown forum navbar menu in my site's main menu.
Reply With Quote
  #4  
Old 04-28-2012, 02:18 PM
kh99 kh99 is offline
 
Join Date: Aug 2009
Location: Maine
Posts: 13,185
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, funny you should mention such a thing because I've been thinking about exactly such a mod, since I think a lot of people want to modify their site but don't have the time and/or ability to learn programming to figure out what variables they can use where, or how they can make something available in a different place. Unfortunately it doesn't exist yet, that I know of.

I've wondered why vbulletin isn't more "modular" or whatever the right term is. For instance, someone just asked about moving the "What's going on" info somewhere else, but there is no vb function to call to get that information, it's built in to a couple of page scripts. I guess it's probably just that it was never designed that way.
Reply With Quote
  #5  
Old 06-23-2012, 09:22 PM
doubleclick doubleclick is offline
 
Join Date: Jul 2004
Posts: 218
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Back in the day, when forums were a new concept, and everyone was excited to be out of alt.discuss.something newsgroups, whizzing along with the latest 2400 baud modem forums, were the center of many websites. But fast forward to today, where Facebook and Google make it two clicks away from using their widgets in and out of their own systems, the concept is starting to become more quaint than cutting edge. Unlike the ease that social media makes it to share information, forums, on the other hand make it incredibly complicated to share info even in other directories in the same website. Then there is the complex system of formatting, requiring an internal template and an external page to get one page up and running. And even after changing colors, and a million plugins, forums all look pretty much like colorful spreadsheets.

Hopefully the developers here will do something in future versions to loosen the grip the code has on the content, phrases, and layout. I know I didn't buy vbulletin to learn to code - I bought it to spread information around, in and out of my site, and to be able to make it look more interesting than a glorified spreadsheet. It's hard enough to keep up with html and php, much less add a new layer of code that makes it harder rather than easier to adapt. And adapting is what the 21st century is all about, especially on the internet. If you can't keep up, you can't survive.

I'm not criticizing vbulletin per se, as most forum software looks and acts the same way. I just hope that in the future, rather than trying to build on the accomplishments of days gone by (which were amazing in their time), one of these forum companies (hopefully vbulletin's) start looking to the future and by making the content and design much more flexible.
Reply With Quote
Reply


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 09:19 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.03642 seconds
  • Memory Usage 2,200KB
  • 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
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete