vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.7 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=228)
-   -   Portal Software - WebTemplates 3.7.x: VB Integrated CMS (Content Management System) (https://vborg.vbsupport.ru/showthread.php?t=186644)

dartho 05-22-2009 12:10 AM

Maybe if you iframe it, you could check the referer in the autoindex page? something like the following added to the top?

PHP Code:

if ($_SERVER[HTTP_REFERER] != 'http://www.forum.com/vb/view.php') {
print(
"GO AWAY!!");
exit;



gsmph 05-24-2009 12:40 AM

@dartho

yes this will really works but i already have tried it the problem with this

PHP Code:

if ($_SERVER[HTTP_REFERER] != 'http://www.forum.com/vb/view.php') {
print(
"GO AWAY!!");
exit;


is that everytime you click a folder or download something the iframe just goes to blank screen and it never shows any data on it or list..

singabaloo 05-24-2009 05:49 AM

Quote:

Originally Posted by singabaloo (Post 1754969)
Great Mod. Installed it fairly easily and now I'm having a play.

I have seen a minor issue between this Mod and the BBCode Table mod The bbcode table mod has a .js script which it uses to automagically have any table column sortable by clicking on it. I have found that while the script does work when I create bbcode tables in posts, it doesn't seem to work within WebTemplates.

Has anyone else tried mixing these two Mods together ?

Bumping this question. Seems to have gotten lost. Has anyone managed to get these two mods working together properly ?

Elenna 05-28-2009 02:43 PM

Good morning!

I am trying to make a "My RSVPs" page, that uses a WT query to pull in someone's RSVPs from Farcaster's modification.

I have the query working when I hard-code the username into the WT Query, but I can't seem to get it to automatically pass the currently-logg-in username to the query.

I attempted to use the private messages sample to get it to pass it via a form, but it isn't working for me. :(

Is there a way to pass a vBulletin variable (like $bbuserinfo[username]) to a query without using a form?

If a form (like the private message sample) is the only way to do it, does anyone know the "must have" parts of the template and query to make it work?



Edit: I answered my own question! You can use $user_username, so I was using the wrong variable. All is well!

zelnik 05-29-2009 06:13 PM

Hoping someone can help.

I've been using a custom style for my forum and webtemplates was working fine on it but I have reverted back to the default vB style and I'm having problems.

Basically it's not showing the white of the background, See attached photo.

Any help would be greatly appreciated, I'm using VB 3.8.2

Logician 05-29-2009 07:28 PM

Quote:

Originally Posted by zelnik (Post 1819728)
Hoping someone can help.

I've been using a custom style for my forum and webtemplates was working fine on it but I have reverted back to the default vB style and I'm having problems.

Basically it's not showing the white of the background, See attached photo.

Any help would be greatly appreciated, I'm using VB 3.8.2

Tried to change header/footer info in the webtemplate your are using?

zelnik 05-29-2009 08:31 PM

Quote:

Originally Posted by Logician (Post 1819762)
Tried to change header/footer info in the webtemplate your are using?

If you mean have I copied the info from the vb default style header/footer templates into the header/footer section on webtemplates then yes I have done that and it's still doing it :(

Logician 05-30-2009 07:43 AM

Quote:

Originally Posted by zelnik (Post 1819808)
If you mean have I copied the info from the vb default style header/footer templates into the header/footer section on webtemplates then yes I have done that and it's still doing it :(

Please edit your webtemplate, and tell me what it tells for "Header" and "Footer" options. If it is set as "Default Webtemplate Header", set it as "Default Vbulletin Header" (or viceversa!) and let's see if it will help

zelnik 05-30-2009 11:07 AM

Quote:

Originally Posted by Logician (Post 1820000)
Please edit your webtemplate, and tell me what it tells for "Header" and "Footer" options. If it is set as "Default Webtemplate Header", set it as "Default Vbulletin Header" (or viceversa!) and let's see if it will help

Hi Logicon, firstly thanks so much for your support and help it's really appreciated.

I have changed the the head/footer from Default vbulletin header/footer to default webtemplate and it does exactly the same.

I've also mixed it up with header/footer so having the header as default vb and footer as default webtemplate and vis versa and still the same :(

I have also reinstalled the main .xml and that has done nothing :(

Edit: Also all the default templates that came with the package (like site rules etc) suffer from the same problem!

Logician 05-30-2009 01:48 PM

Quote:

Originally Posted by zelnik (Post 1820052)
Hi Logicon, firstly thanks so much for your support and help it's really appreciated.

I have changed the the head/footer from Default vbulletin header/footer to default webtemplate and it does exactly the same.

I've also mixed it up with header/footer so having the header as default vb and footer as default webtemplate and vis versa and still the same :(

I have also reinstalled the main .xml and that has done nothing :(

Edit: Also all the default templates that came with the package (like site rules etc) suffer from the same problem!

If you changed header/footer templates or header/footer webtemplates or WT themes, please try reverting them. If you are sure all are default and you have the problem, let me know your URL and give me admin cp access so that I can check. But I'm positive it must be related to something you changed in templates or webtemplates.


All times are GMT. The time now is 02:30 AM.

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.01854 seconds
  • Memory Usage 1,752KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_php_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete