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)

DaveS 04-28-2009 06:18 AM

For those that are using this mod and the vbSEO mod the following rule will rewrite the URL's to be more SEO friendly.
I've just been working on this with the vbSEO guys and thought it would be useful posted here as well.
It gets entered in to the Define Custom Rewrite Rules Section.

HTML Code:

'^view\.php\?pg=(.+?)$' => 'page-$1.html'
Works a treat!

The URL's now become http://yoursite/forums/page-nameofpage.html

Gamelobby 04-28-2009 06:33 AM

Man i really wish i could get this to work..
This would make the last few years of trying to build a seperate website obsolete.!!

Can someone tell me if it is possible, to build a functional web page within my forums.?
such as..
put this type of site - http://www.gamelobby.com/Forum/warriorbreed (can be much simpler)
into a page like this - http://www.gamelobby.com/Forum/view.php?pg=test

So that the menu on the side is still part of the page.?

Thanks in advance for any insight. :)

Saviour 04-29-2009 02:22 PM

Bump...

https://vborg.vbsupport.ru/showpost....&postcount=420

Does anyone use vMoods with this mod? If so, can ya help me out with the post above?

DaveS 04-29-2009 03:40 PM

Quote:

Originally Posted by Gamelobby (Post 1800362)
Man i really wish i could get this to work..
This would make the last few years of trying to build a seperate website obsolete.!!

Can someone tell me if it is possible, to build a functional web page within my forums.?
such as..
put this type of site - http://www.gamelobby.com/Forum/warriorbreed (can be much simpler)
into a page like this - http://www.gamelobby.com/Forum/view.php?pg=test

So that the menu on the side is still part of the page.?

Thanks in advance for any insight. :)

Although I haven't analysed what you've done the answer I think is yes.
I've just built a simple php application using this mod that embeds nicely within vB now. When you couple that with the vbSEO mod I think this mod has a great future.

Logician 04-29-2009 04:43 PM

Quote:

Originally Posted by DaveS (Post 1800354)
For those that are using this mod and the vbSEO mod the following rule will rewrite the URL's to be more SEO friendly.
I've just been working on this with the vbSEO guys and thought it would be useful posted here as well.
It gets entered in to the Define Custom Rewrite Rules Section.

HTML Code:

'^view\.php\?pg=(.+?)$' => 'page-$1.html'
Works a treat!

The URL's now become http://yoursite/forums/page-nameofpage.html

Thanks Dave! I added to FAQ.

Logician 04-29-2009 04:46 PM

Quote:

Originally Posted by Gamelobby (Post 1800362)
Man i really wish i could get this to work..
This would make the last few years of trying to build a seperate website obsolete.!!

Can someone tell me if it is possible, to build a functional web page within my forums.?
such as..
put this type of site - http://www.gamelobby.com/Forum/warriorbreed (can be much simpler)
into a page like this - http://www.gamelobby.com/Forum/view.php?pg=test

So that the menu on the side is still part of the page.?

Thanks in advance for any insight. :)

I'd think it is possible. Just create a webtemplate with a iframe in it and put your page into this iframe in the webtemplate.

Logician 04-29-2009 05:02 PM

Quote:

Originally Posted by Saviour (Post 1799984)
I have vMoods for 3.7 along with this mod, but the mood dropdown isn''t working in the navbar area of pages I've created using this mod.

Can someone assist?

Much appreciated...

Open view.php, find this line:
PHP Code:

//construct_forum_jump(); 

After that add:
PHP Code:

if ($vbulletin->options['vmoods_active'] && $vbulletin->userinfo['userid'] > && !in_array($vbulletin->userinfo['usergroupid'], explode(","$vbulletin->options['vmoods_usergroups'])))
{
 
$vmoods_list explode("\n"$vbulletin->options['vmoods_list']);
 
$vmoods_path $vbulletin->options['vmoods_images_path'];
 
 foreach (
$vmoods_list as $vmood)
 {
  
$vmood trim($vmood);
  
$vmood_id = ($vbulletin->userinfo['vmood'] == $vmood) ? 'mine' $vmood;
  
  if (
$vbulletin->options['vmoods_li_option'] == 'text'){
   eval(
'$vmoods_li .= "' fetch_template('vmoods_li_text') . '";');
  } else  
  if (
$vbulletin->options['vmoods_li_option'] == 'images'){
   eval(
'$vmoods_li .= "' fetch_template('vmoods_li') . '";');
  }
 }
 
 eval(
'$vmoods_form = "' fetch_template('vmoods_form') . '";');
 
    
$footer $vmoods_form $footer;



Logician 04-29-2009 05:12 PM

Quote:

Originally Posted by gsmph (Post 1799674)
here is my autoindex kindly check this but still i cant get the right URL on WT :(


br
gsmph

What about you also try iframe method? So instead of running your autoindex file in a php webtemplate, create a regular HTML webtemplate which as a iframe in it and then run your autoindex inside this iframe?

Gamelobby 04-29-2009 10:36 PM

Quote:

Originally Posted by Logician (Post 1801264)
I'd think it is possible. Just create a webtemplate with a iframe in it and put your page into this iframe in the webtemplate.

Yup thats exactly what we did.. not sure if that is the perfect way to acheive what we want, but it is damn close, & will work for now.!! :up:


Will the html code work on here also.?
HTML Code:

'^view\.php\?pg=(.+?)$' => 'page-$1.html'
Without vBSEO.?

I should think about adding vBSEO.. I've always just been afraid it would screw things up. :erm:

Gamelobby 04-29-2009 11:30 PM

I got a question about this.. (or maybe this should be posted elsewhere)

Using iframes, how can i create a page that will pull info from a socialgroup.?
Like a members page that takes the data straight from a group page, so the group page becomes their admin page.

Does that make sense.?


All times are GMT. The time now is 08:34 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.01442 seconds
  • Memory Usage 1,764KB
  • 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
  • (3)bbcode_html_printable
  • (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