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)

phenomenon 09-09-2003 02:03 AM

bah. worked around it. removed the lower half of my header and put it at the top of the index page. Now it works.

The poll doesn't work.

I posted a new poll, it shows up on the index page, but when I click to vote, I get this:

http://beast.markofthebeast.net/beas...est/search.php

However, it works fine from within the poll forum. Just not from the index.

ideas?

also, anyone know how to follow a specific thread id?

Zachery 09-09-2003 02:11 PM

lol sorry about the confusion :\ i havent looked at vb2 code in a while im using vb3 now :\

what zeidlern was saying is true youd need to move the $welcometext eval up so it gets evaled before the header

i think :\

phenomenon 09-09-2003 06:22 PM

Ooooh... Ok THANKS!

welp, I already resolved it by moving 3/5 of my header stuff out of the header into the index -- looks the same, just set up diff in the CP.

I'm really confounded by the polls... I set up a new test poll last night. When I vote on my windows box, it redirects me to the search page (search.php).

However, when I vote using Safari or IE 5.3.2 on the mac, it works fine!

I also am still looking for a way to track a specific thread on the home page. I have the code from mYvBindex that shows the latest threads (most recent), but looking through the php, and being an actionscript/flash monkey rather than a php coder, I don't know how to set it up to track a specific thread id.

Basically, one of the people that post on our forum is hysterical, and has a running thread called "Ask TheAsada". I'd like the most recent two replies in the Ask TheAsada thread displayed on the home page.

can someone direct me to another hack that does this? Maybe I can figure out how to hash them together.

my development site is beast.markofthebeast.net -- it's closed to new registrars at the moment while I build the thing, as I don't want my usual community in there until I'm done (they're at www.markofthebeast.net/forums). I'll probably be opening it up pretty soon, though, as the polls problem is really the only thing left.

Zachery 09-09-2003 06:55 PM

ok, well im not sure how to slove your poll problem but im glad everything eless has worked out

phenomenon 09-09-2003 07:02 PM

thanks faranth. I dunno what the heck is up with polls.

so all I need now is help setting up tracking an individual thread. Can someone direct me to previous posts/other threads where I could see how to do this?

Zachery 09-09-2003 08:12 PM

i dunno if its been done, try searching if you dont find it while seraching try looking into requests

phenomenon 09-11-2003 09:37 PM

well I'm stupid. I forgot the </form> in the search code when I re-laid it out, so when you'd vote it would search instead.

it all works now.

phenomenon 09-11-2003 10:01 PM

We're trying to figure out if this is what we're looking to do on our site: basically we want to set up different index pages in different directories that call news from the same vBulletin, but different forum ID's. It LOOKS like this is what this does, but I want to make sure before I break anything.

Example: We're re-developing our gaming site. We have our main page that is general news, etc. Then we have some specific game pages that live in their own directories that we want to have track their own news forums. So our main page is at our yourdomain.com/myvbindex.php, the gaming pages would be at yourdomain.com/games/game1/index_game1.php

would this work?

Quote:

Originally Posted by Tigga
Mono - Something like that could be done fairly easily. I know I already explained how to do it somewhere in this thread, but I couldn't find it by searching, so I'll just explain it again. :)

If you'll open your myvbindex.php file and look for this line:

// News

Right above that you'll want to place some coding like this:

PHP Code:

if ($action=="newpage") {
eval(
"\$newsbits = \"".gettemplate('index_newpage')."\";");
} else { 

Then you'll want to look for this line:
PHP Code:

$DB_site->free_result($getnews);
unset(
$news);


Right below that you will want to add another }

Then you'll want to create a template called index_newpage (of course you can call it whatever you'd like, just be sure to change the name in the code above).

Then to link to that page, you would use the url http://yoursite.com/myvbindex.php?s=$session[sessionhash]&action=newpage
And again the "newpage" part after the action can be changed to whatever you'd like, just be sure to change that in your coding as well.


Asso 09-12-2003 11:57 AM

it works with vB 3?

kid_ttvn 09-13-2003 06:04 AM

help me!
I setup good!
But logo not show on my portal, in forum is show.

Help me fix it.
What template must edit to change URL for logo?

Thank you for help


All times are GMT. The time now is 06:04 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.02352 seconds
  • Memory Usage 1,749KB
  • 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
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (4)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