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)

Red Blaze 02-21-2003 08:44 PM

Quote:

Originally posted by PlurPlanet
formerEVO2 - I can't really think of a reason it wouldn't display if everything was done and installed correctly... You can double check that you have a template called index_newsbits and that it's not blank. If you have phpMyAdmin, you could log in with that and make sure your post table has a row called "isnews" (it should be the last one). If that's there then you should find your news post (should have 8 in the id field) and make sure that it has a 'Y' in the isnews column. Let me know about those things and that should help determine the problem.

Hey, I have the same problem and I can't seem to figure it out. I can't find that "isnews" anywhere in my phpMyAdmin. Rather it's there and I can't find it, or it's just not there. I doubt it's there in the database. How can I add it, or what should I do?

Tigga 02-21-2003 09:51 PM

The "isnews" column should be the last one on your post table. As long as you didn't get any errors when you ran the install file though it should be there.
Did you make the posts before or after you installed the script? If it was before, then the script only displays news that was made after it was installed. You could double check that you modified your newthread.php file correctly and uploaded it. If that still doesn't work let me know. Also, what do you have set for your News Forum ID?

Cloud Strife 02-21-2003 11:37 PM

How do you update the news??? I tried the code you gave in my phpmyadmin, but it doesnt update... All new posts register... And i see no problem with how i set it up... This is the code I used:-

UPDATE post SET isnews='Y' WHERE postid=(replaced with thread id);

Zachery 02-21-2003 11:57 PM

u need to go to your admin cp, set the fourm id to the right one :\ at least i think so

u should be able to put your mouse over the link to the forum, and find out its id number

arracing 02-22-2003 01:00 AM

hey plur, you know how I made my links open up on the side. Is the code you gave me with the meta tags search engine friendly. Can the search engines see those pages and content?

Also my other question is I want to make it so the poll on the index gets picked randomly from any poll on the forum. Is their a way to do this?

I have released my index so to get to it go to
www.ar-racing.com

Red Blaze 02-22-2003 02:00 AM

Ok, here's my newthread.php file where I think it suppose to be at.

Quote:

// create first post
$DB_site->query("INSERT INTO post (postid,threadid,title,username,userid,dateline,at tachmentid,pagetext,allowsmilie,showsignature,ipaddress,iconid,visible,isnews) VALUES (NULL,'$threadid','".addslashes(htmlspecialchars($ subject))."','".addslashes($postusername)."','$bbu serinfo[userid]','".time()."','$attachmentid','".addslashes($mess age)."','$allowsmilie','$signature','$ipaddress',' $iconid','1','Y')");
$postid=$DB_site->insert_id();
I also did found the isnews thing. Still can't figure out what the problem is. =/

The news posts are ID#3
The Polls forums are ID#2
And I did post something after I installed it to test if it worked. And got nothing.

Sulaiti 02-22-2003 05:31 AM

I install mYvBindex v3.1 Hack into my forum

Q. How Can I add the index.php to the online.php

http://www.doha.ws/index.php

Regards

Cloud Strife 02-22-2003 10:24 AM

@ Faranth
I have already set my news forum ID... Ive had myvbindex before, but I updated my vbulletin, so the news posts dont register anymore...

I tried the code that plurplanet gave to update the posts in phpmyadmin, and it doesnt work... I even checked to see if the isnews column was there and it is... Also check my newthread and newreply.phps to see if I hacked them ok... There seem to be no problem there... So I either delete all the posts in my news section and repost them again so they register, or I find an easier way....

Cloud

Tigga 02-22-2003 11:13 AM

Cloud - According to your post above, you set it to update the wrong post. The number should be the postid, not the threadid. Be sure you were using the postid in that query and if it still doesn't work let me know.

arracing - I can't guarantee how 'random' the polls will be since I've never had much luck with this function, but other people say it works fine so hopefully it will do the trick... Just open your myvbindex.php file and look for:
ORDER BY thread.pollid DESC LIMIT 1
Change that to:
ORDER BY RAND()

Sulaiti - Open your online.php file and look for:
case 'index.php':

Right Above that Add:
$userinfo[activity] = 'home';
break;


Then look for:
case 'index':

Right Above that Add:
case 'home':
$userinfo[where] = "Your Site Name Here <a href='/index.php?s=$session[sessionhash]'>Main Index</a>";
break;


Be sure to replace "Your Site Name Here" with the name of your site.

Cloud Strife 02-22-2003 11:57 AM

Ah... Thank plurplanet;)
Works great now

Cloud


All times are GMT. The time now is 12:47 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.02177 seconds
  • Memory Usage 1,745KB
  • 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_quote_printable
  • (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