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)

Tikibird 12-15-2007 10:29 AM

Thanks Tigerware. I found the web template and clicked on "Visit" and got this message:

Not Found
The requested URL /forum/view.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a DAV/2 mod_bwlimited/1.4 mod_jk/1.2.25 FrontPage/5.0.2.2635 mod_auth_passthrough/2.1 Server at www.myforumname.com Port 80

Is that how you "run" a template, you click on "visit"?

Logician 12-15-2007 10:43 AM

Quote:

Originally Posted by Tikibird (Post 1401463)
Thanks Tigerware. I found the web template and clicked on "Visit" and got this message:

Not Found
The requested URL /forum/view.php was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.


--------------------------------------------------------------------------------

Apache/2.2.6 (Unix) mod_ssl/2.2.6 OpenSSL/0.9.7a DAV/2 mod_bwlimited/1.4 mod_jk/1.2.25 FrontPage/5.0.2.2635 mod_auth_passthrough/2.1 Server at www.myforumname.com Port 80

Is that how you "run" a template, you click on "visit"?

Have you uploaded all hack files correctly to your server? In this specific example you seem to forget uploading "view.php"

Logician 12-15-2007 10:44 AM

Quote:

Originally Posted by valdet (Post 1401445)
Sorry to bump this thread, but has anyone tested this with the latest vB 3.6.8 PL2.

Clicked install and waiting for an answer.

Hack is compatible with all 3.5 and 3.6.x versions including 3.6.8 PL2.

TigerWare 12-15-2007 10:48 AM

Quote:

Originally Posted by valdet (Post 1401445)
but has anyone tested this with the latest vB 3.6.8 PL2.

Yes, it works fine.


** edit to add **
Beaten to the punch by the master himself.

Tikibird 12-15-2007 05:48 PM

Thanks Logician! That is exactly what happened. Funny, I used Smart FTP to drag the files over to the directory and that View.php and editor.php didn't copy over with the admincp and includes ones.

Everything is working fine now, thanks so much for your help!!

Now I just have to think of some more stats I can run!

Icehawk002 12-16-2007 01:24 PM

We have a library for article relevant to our site content this currently consists of a huge number in excess of 180 webtemplate pages. Each template has the same menu code in it and the page layout is the same other than obviously the article content is different.

I wonder if people have any suggestions to improve this arrangement?

The biggest problem is if we add a new menu item all the 180 plus templates require modification.

thanks

TigerWare 12-16-2007 01:31 PM

Quote:

Originally Posted by Icehawk002 (Post 1402110)
Each template has the same menu code in it and the page layout is the same other than obviously the article content is different.
...
The biggest problem is if we add a new menu item all the 180 plus templates require modification.

It sounds like you need to put the menu system in the WebTemplate "Theme" and not inside each template page. My article here may give you some ideas. (Just ignore the vBa bits for your reading).

Icehawk002 12-16-2007 02:19 PM

Thanks TiggerWare that looks like a good solution and very helpful, I'll have a go and see how it works out.

Logician 12-16-2007 04:24 PM

Quote:

Originally Posted by Icehawk002 (Post 1402110)
We have a library for article relevant to our site content this currently consists of a huge number in excess of 180 webtemplate pages. Each template has the same menu code in it and the page layout is the same other than obviously the article content is different.

I wonder if people have any suggestions to improve this arrangement?

The biggest problem is if we add a new menu item all the 180 plus templates require modification.

thanks

Exactly as tigerware told. You have to make a single webtemplate theme and then use this theme in your article webtemplates. I suggest you read "theme" section in manual.

Saviour 12-18-2007 12:59 PM

Logician...

I've searched through this thread, and have found some related issues, but I'm a little green when it comes to PHP...so please, be patient.

Here's my issue...and I have to reference another coder's mod...so again, please be patient with me.

I am using the Radio and TV mod developed by Dream. It references a page named radioandtv.php. When this page loads...it doesn't show the header, navbar, or footer. Okay...so I read Dream's entire thread regarding his mod and in post #97 find the code I need to add the header, navbar and footer. The header, navbar and footer display, but with an "error on page" message at the bottom of the page. Also, the links in the navbar that have pop-up menus do not work, either. I asked Dream about it...and since the code is not part of his mod...I'm sort of stuck.

This is what I'd like to do...using your web template system, I would create a PHP template and use the PHP code from Dream's radioandtv.php file. So far...so good...the page displays. Yet, I still need to incorporate my header, navbar and footer. How would I go about coding Dream's radioandtv.php file, within your template mod, so the header, navbar and footer are shown and functioning properly?

I know you don't support his mod, but I guess my main question is how to make sure I have the header, navbar and footer coded correctly within a PHP template while maintaining the integrity and functionality of the navbar and footer...making sure the links and pop-ups work as they should?

BTW...I have also PM'd the creator of the code referred to earlier for Dream's mod, but have yet to receive a response. So, I'm hoping you can at least shed some light on my issue and point me in the right direction.

Any help you provide will be greatly appreciated...


All times are GMT. The time now is 12:49 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.01580 seconds
  • Memory Usage 1,748KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (3)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