vb.org Archive

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

Spinball 12-17-2005 08:01 AM

Thanks very much! Imported all of our old templates ok. One curious thing.
The Display Page Browsers? setting isn't being remembered.
I'm selecting 'No' and saving but when I re-edit, it comes back 'Yes'.

Also the version number in the product manager reads 3.5.0.0 after installing version 3.5.0.3

Logician 12-17-2005 08:26 AM

Quote:

Originally Posted by Spinball
Thanks very much! Imported all of our old templates ok. One curious thing.
The Display Page Browsers? setting isn't being remembered.
I'm selecting 'No' and saving but when I re-edit, it comes back 'Yes'.

This is also fixed now. New version attached to the first post.

Neutral Singh 12-17-2005 01:40 PM

Oh!! Thanks for a pre-Chrismas Gift!! I love you man... errr!! your work i should say. ;)

THANKS

drdaco 12-17-2005 02:12 PM

I LOVE IT! thank you soooo much

SCRIPT3R 12-17-2005 04:09 PM

will install after the holidays - thank you!

Wachtmeister 12-17-2005 07:31 PM

Hello,

is it possible to do the following with this script (and how)?

http://www.mypage.de/forum/view.php?pg=aboutus

I want to show location and reputation of some users. Is this possible with any variable?

//edit: to say it clear: i don't want to use the included variables. i want to show those infos not for the current logged in (viewing) user. I want it for the user with userid=1 and for the user with userid=5 and so on.

Synth 12-18-2005 02:31 AM

I have been waiting for something like this!! Thanks so much for the Christmas gift!!

*INSTALLS*

Rich 12-18-2005 10:47 AM

Hello,

How does this application handle the templates? I have installed this, but an error shows up after viewing a page a few times that says:

"Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."

The only URL this happens with are those with the extension "view.php?pg=pagename and only with the page listed as using the "TEXT Parse Method". (So far anyways. HTML pages haven't displayed this error yet.)

I don't have a redirection limit that I am aware of and it isn't a cookie issue. I have my site on a VPS and the only limits I have are on bandwidth and disk space (both I have plenty of).

My members are also getting this error, but they can all access the HTML page I created that links to the "caresheets". (I run reptile husbandry sites.)

For the time being I am going to toss the caresheets in a forum so my members can use them. I like how this deals with the permission system, so it would be great if I knew what was causing this. Thanks.

Logician 12-18-2005 03:53 PM

Quote:

Originally Posted by iguanairs
Hello,

How does this application handle the templates? I have installed this, but an error shows up after viewing a page a few times that says:

"Redirection limit for this URL exceeded. Unable to load the requested page. This may be caused by cookies that are blocked."

The only URL this happens with are those with the extension "view.php?pg=pagename and only with the page listed as using the "TEXT Parse Method". (So far anyways. HTML pages haven't displayed this error yet.)

I don't have a redirection limit that I am aware of and it isn't a cookie issue. I have my site on a VPS and the only limits I have are on bandwidth and disk space (both I have plenty of).

My members are also getting this error, but they can all access the HTML page I created that links to the "caresheets". (I run reptile husbandry sites.)

For the time being I am going to toss the caresheets in a forum so my members can use them. I like how this deals with the permission system, so it would be great if I knew what was causing this. Thanks.

I dont think it is related to the hack. I suspect it is related to the server settings and especially active ".htaccess" files you have in the server. It sounds like server is causing an infinitive loop to this file for a reason hence this error message happens. I'd suggest you to check your .htaccess files and even temporarily remove/disable them to see if it helps. If this does not help and you want me to trace it more, give me FTP and vb admin cp access and I can try to check if I find a spare time.

Edit : If you turned on hack's SEO friendly URLs, try turning it off and also remove its .htaccess files and see if it helps. It can be it that is clashing with smt. in your server.

PiotrasG 12-18-2005 04:11 PM

hell yea nice hack installing.... Thx

b6gm6n 12-18-2005 07:21 PM

Hi, this add-on looks perfect for my needs thankyou, i'll be trying something with it later which i may need some advise on later, basically trying to include another php script which generates an topsite page...heres hopeing, i think i know how i can achieve this...:) thanx again

=-b6

tuanluu 12-19-2005 07:20 AM

i will install when I upgrade my board

pmfp 12-19-2005 10:17 PM

Pretty nice! Thanks!

One immediate problem though: When selecting PHP as parse method and Default Basic Theme as theme, it doesn't print the template, only prints the output of what's in the field.

Martin

hugh_ 12-20-2005 05:49 AM

Can search engines index webtemplates without the SEO hack enabled?

Thanks...

hugh

Logician 12-20-2005 06:39 AM

Quote:

Originally Posted by hugh_
Can search engines index webtemplates without the SEO hack enabled?

Yes. Here is a demonstration : http://www.google.com/search?as_q=%2...ghts=&safe=off

It is just that if you use SEO friendly URLs your page may rank higher.

Quote:

One immediate problem though: When selecting PHP as parse method and Default Basic Theme as theme, it doesn't print the template, only prints the output of what's in the field.
In PHP parsing, themes are off.

Huijting 12-20-2005 08:01 AM

I like the work U did but it doesn't work @ my site, getting the next error testing the test pages:

Fatal error: Call to undefined function: key_exists() in /home/httpd/vhosts/huijting.nl/httpdocs/vbul/view.php on line 568

I'm afraid it has to do with my php version :-( , can U please help me :-)

Rob

hugh_ 12-20-2005 08:04 AM

Quote:

Originally Posted by Logician
Yes. Here is a demonstration : http://www.google.com/search?as_q=%2...ghts=&safe=off

It is just that if you use SEO friendly URLs your page may rank higher.


In PHP parsing, themes are off.

I thought as much but it's good to have it confirmed! Great thanks for giving me the means to bridge some structural gaps that have been with my site for many years...

hugh

ChrisBaktis 12-20-2005 11:52 AM

This is a Fantastic Hack!

One thing that I would like to see is expandable catagories for the custom pages...for example - we do extensive product reviews, and we do many of them each month, it would be great to have a catagory that we can click on that will expand those pages so they are not all cluttered on the main page.

Logician 12-20-2005 01:37 PM

Quote:

Originally Posted by Huijting
I like the work U did but it doesn't work @ my site, getting the next error testing the test pages:

Fatal error: Call to undefined function: key_exists() in /home/httpd/vhosts/huijting.nl/httpdocs/vbul/view.php on line 568

Edit view.php and replace all "key_exists" term with "array_key_exists" and that should fix it.

key_exists is a function that exists in old PHP versions and array_key_exists is a function that exists in the recent PHP versions. I used to use array_key_exists in the previous releases of this hack but it caused problems with servers that has old PHP versions so in this release, I changed it with key_exists. Now we have problems with new PHP versions. :)

TTG 12-20-2005 01:42 PM

Installed but nothing showing in admincp .. double checked all file additions ?

pmfp 12-20-2005 01:46 PM

Quote:

Originally Posted by Logician
In PHP parsing, themes are off.

Why's that? Would you mind making it optional?

Martin

Logician 12-20-2005 01:51 PM

Quote:

Originally Posted by TTG
Installed but nothing showing in admincp .. double checked all file additions ?

1- Make sure "cpnav_webtemplates.xml" is uploaded to /includes/xml/

2- Log out from admin cp, log in back.

TTG 12-20-2005 02:57 PM

Quote:

Originally Posted by Logician
1- Make sure "cpnav_webtemplates.xml" is uploaded to /includes/xml/

2- Log out from admin cp, log in back.

Still not showing :ermm:

Logician 12-20-2005 03:02 PM

Quote:

Originally Posted by TTG
Still not showing :ermm:

Can you see the hack options in your vb options or access admincp pages via url like: www.yourforum.com/admincp/wt_wt.php

hugh_ 12-20-2005 08:03 PM

Quote:

a) you can create a file named index.php and use this line in it:
<?php include ("http://www.yourdomain.com/forum/view.php?pg=your_template"); ?>
When you upload this file in your site home directory, your site home page will be a webtemplate.
Using this means of calling the templates I get an error messages saying the page hasn't loaded correctly, the style choser doesn't work and netheir does the log-in prompt. Am I doing something wrong?

Thanks...

hugh

TTG 12-20-2005 09:47 PM

Quote:

Originally Posted by Logician
Can you see the hack options in your vb options or access admincp pages via url like: www.yourforum.com/admincp/wt_wt.php

Yes to both ! :nervous:

Logician 12-21-2005 06:17 AM

Quote:

Originally Posted by TTG
Yes to both ! :nervous:

It really sounds like you have a problem with the upload of "cpnav_webtemplates.xml" file. Try to delete it and then reupload. Make sure you upload as ASCII file, not "bin".

Ramsesx 12-21-2005 08:34 AM

Thanks for this quick installing hack and the very nice explanation.
One question, the .htacces file is necessery? Because having already one from vbseo inside the root folder.
Thanks

Logician 12-21-2005 08:42 AM

Quote:

Originally Posted by Ramsesx
Thanks for this quick installing hack and the very nice explanation.
One question, the .htacces file is necessery? Because having already one from vbseo inside the root folder.
Thanks

Nope it is not. It is needed only if you want to use seo friendly webtemplate urls. You can find more info in the manual.

Masiello 12-21-2005 03:45 PM

Thanks veru much, i click install, great work really!
It more be also beautifull if somehow it created a menu link and sublink in a module in case of need, it would really the best one of the elite code!

Logician 12-21-2005 07:09 PM

Quote:

Originally Posted by Masiello
Thanks veru much, i click install, great work really!
It more be also beautifull if somehow it created a menu link and sublink in a module in case of need, it would really the best one of the elite code!

I'm not sure what you mean but if you wanted an automated list of your webtemplates, sample webtemplate named "wtlist" does it.

Masiello 12-21-2005 07:13 PM

I inteed a real column menu on the forum of all created pages

Bubble #5 12-22-2005 11:00 PM

For the htaccess file, shouldn't:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1

Be written as:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f [L]
RewriteRule ^view_(.*).htm$ view.php?pg=$1 [L]

Just wondering :ermm:

Logician 12-23-2005 05:22 AM

Quote:

Originally Posted by Bubble #5
For the htaccess file, shouldn't:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1

Be written as:

HTML Code:

RewriteCond %{REQUEST_FILENAME} !-f [L]
RewriteRule ^view_(.*).htm$ view.php?pg=$1 [L]

Just wondering :ermm:

Unless you have a already complicated .htaccess, I don't think L flag is necessary but if you have other rewrite rules in your .htaccess, yes you can add it as you pointed out.

Masiello 12-23-2005 06:26 AM

For me working fine only on that mode

RewriteCond %{REQUEST_FILENAME} !-f
RewriteRule ^view_(.*).htm$ view.php?pg=$1

fn9mm 12-25-2005 07:57 AM

nice hack, Logician,...
one question though : as suggested in the manual , I would like to add some categories in my webtemplates, but i can't find this file as stated in the manual

Quote:

$WT_Option_Categories[] ='Your Custom Pages';

in file wt_options.php.
is there an other solution

Logician 12-25-2005 08:31 AM

Quote:

Originally Posted by fn9mm
nice hack, Logician,...
one question though : as suggested in the manual , I would like to add some categories in my webtemplates, but i can't find this file as stated in the manual is there an other solution

Haven't you uploaded this file to /forum/includes/ folder?

fn9mm 12-25-2005 10:50 AM

the file wt_options.php is not included in the download package, in the includes folder, i can only find this file : wt_include.php

ok solved

i found the '$WT_Option_Categories[] = 'Your Custom Pages';' option in the wt_include.php file,
plz change the filename in the manual from wt_option.php to wt_include.php

fn9mm 12-25-2005 11:01 AM

i found the right file, but adding categories in this file doesn't seem to work
i added my categories like this

Code:

$WT_Option_Categories[] = 'Default WebTemplates'; // <-- Do NOT touch this!!
        $WT_Option_Categories[] = 'Your Custom Pages'; //
        $WT_Option_Categories[] = 'Usenet'; //
        $WT_Option_Categories[] = 'Virtuele schijven-images'; //
        $WT_Option_Categories[] = 'Software'; //
        $WT_Option_Categories[] = 'Diverse'; //

this should work,...

Logician 12-25-2005 04:44 PM

Quote:

Originally Posted by fn9mm
i found the right file, but adding categories in this file doesn't seem to work
i added my categories like this

Code:

$WT_Option_Categories[] = 'Default WebTemplates'; // <-- Do NOT touch this!!
        $WT_Option_Categories[] = 'Your Custom Pages'; //
        $WT_Option_Categories[] = 'Usenet'; //
        $WT_Option_Categories[] = 'Virtuele schijven-images'; //
        $WT_Option_Categories[] = 'Software'; //
        $WT_Option_Categories[] = 'Diverse'; //

this should work,...

You did it correctly. You should be seeing your categories when you add a new template or in edit webtemplate page. When you have at least one webtemplate in a category, it will be visible in your list too.


All times are GMT. The time now is 05:01 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.01705 seconds
  • Memory Usage 1,841KB
  • 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_code_printable
  • (4)bbcode_html_printable
  • (19)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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