vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 2.x Full Releases (https://vborg.vbsupport.ru/forumdisplay.php?f=4)
-   -   mYvBindex v3.1 (https://vborg.vbsupport.ru/showthread.php?t=44691)

Tigga 05-25-2003 08:52 PM

ivanmcp - Wow, thank you for the nice review there. :) There is a way to turn this hack into more of a "portal" script, so that you would be able to have more of your pages powered by vBulletin. In fact, if you take a look at my website you'll see that EVERY page there is completely integrated with and powered by vBulletin. I've thought of what should be a pretty easy way to allow people to create a portal system and be able to create a new page simply by creating a new template and linking to a specific url. I think I'll go ahead and try to make this sometime this week if I get the time. I'm not sure if I'll just release it as an add-on for myvbindex, or a seperate hack... Either way if you check back here next week hopefully I'll have it done. :)

Cloudrunner - Glad everything's working ok for you.

Harley D - If you'll look in your error_nopermission_loggedout template, that's where you'll need to make some changes. You should be able to simple add $bburl in front of the url in the form tag there, and in the 2 links there.

Yuber 05-25-2003 11:27 PM

Is there anyway to make it so that when you post an announcement, it will go on the homepage instead of Threads within a new forum?

Harley D 05-26-2003 02:43 AM

Thanks Tigga :) But still not working correctly.

The $bburl/ didn't work, but adding "forums/" did, but caused other linking problems.

I have also noticed that if I log off, and then log in from the Myvbindex.php home page, I will be redirected to the forums/index.php rather than the Myvbindex.php page. I would prefer that they be directed to my homepage, not the forums main page.

Thanks again.

Harley D 05-26-2003 02:19 PM

I managed to fix the problem of the redirect after login, now it points back to the index.php not the forums/index.php.

BUT, When logging in from the home page, it will redirect you to http://www.mysite.com/member.php, when it should be redirecting to http://www.mysite.com/forums/member.php.

I have added $bburl to the error_nopermission_loggedout template. like this (<table border="0" bgcolor="#0A293E" cellpadding="4" cellspacing="1" align="center">
<form action="$bburl/member.php" method="post"><input type="hidden" name="s" value="$session[sessionhash]">
$logincode
</table>) But it doesn't work. it still will redirect you to http://www.mysite.com/member.php!

I have tried to replace the $bburl with forums/, but that will cause the login to redirect you to http://www.mysite.com/forums/forums/member.php when you login from the forums/ and not the homepage.

Why doesn't the $bburl work?, did I use it correctly?

We could fix this by...
When a person is in the FOURMS/, and is not logged in, We could figure out a way to redirect them to the homepage login instead of the Forums/ login, this would allow me to use "FORUMS/ instead of the non working $bburl in the Zrror_nopermission_loggedout template.

Am I making any sence? :ermm: Do you know how this redirect could be done, without effecting the Homepage login?

Tigga 05-26-2003 04:09 PM

Yuber - I'm sure that's possible... I'll try to look into it when I get some more time.

Harley D - Have you tried using /fourms/ in front of the links and form? Also, if you modified your member.php file as instructed in the readme file then you will be redirected to whereever you logged out from instead of the forum's index page.

ivanmcp 05-26-2003 06:17 PM

Tigga,

Your other pages are stored in the vB db! Cool, that is exactly what I want. I can't wait for your solution, as I feel this is going to be the ultimate tool in order to place all our web eggs in one basket, ermmm....

Couple of questions:

1. Does this mean that other -non vB pages will be searchable using vB search box? At the moment, I see the need for two search boxes: forum one and rest of the site (Atomz...).

2. Would these non vB pages be indexed by the search engines (Google...) ?

Ivan

Tigga 05-26-2003 07:53 PM

ivanmcp - I'm actually glad you asked those questions. I hadn't really though about those, but I think both would be possible. The way the hack will work to create new pages will be a pretty simple concept really... You would make a new template with a specific suffix, add your content (in which you'll be able to use most global variables such as $header, $footer, $bbuserinfo, etc) and then you would simply link to something like http://yoursite.com/index.php?action=aboutus. I also plan on tying it in with mYvBindex so that you could choose to display the left, right, or both columns on those pages (similar to the way my site is with the left column on most every page).
I don't think it would be too hard to make a simple search engine that would only search the templates with that specified suffix. I don't think it would be too difficult to make the new pages so they were able to be spidered by Google as well. I've never cared too much about my pages being spidered (I can't afford the extra bandwith anyways ;)), but I'll definitely look into what would need to be done to make sure those pages can be spidered. I can't guarantee that both of those features will be in the first version of the hack, but I will try to see if I can impiment those before I release it, and if not I should at least be able to add them in the 2nd version or so. :)

Yuber 05-26-2003 08:35 PM

Thankyou Tigga I really appreciate it.

Harley D 05-26-2003 10:14 PM

Thanks alot Tigga!

The /FORUMS/ did the trick :)

Harley D 05-27-2003 03:19 AM

Well Tigga, looks like I'm not out of the woods yet:(

My header menu buttons, on my myvbindex home page, work correctly. But when instde the forums, ALL header menu links have an extra forums/ in them = www.mysite.com/forums/forums/anypage.php.

I've edited myself into a state of confusion. I'm at your mercy once more.


All times are GMT. The time now is 02:51 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.02258 seconds
  • Memory Usage 1,747KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (5)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