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)

Alien 05-04-2003 09:06 PM

Tigga: Hey, thanks so much for the help with the source add-on! I'll give it a try!

-Jason

glo 05-05-2003 08:16 AM

"clicks install" ;)

Hi Tigga,
Thanks for the hack! :D Im going to play around with the layout to suit my website.

If I wanted to shuffle them around is there any easy way to do it?

DarkDraco07 05-05-2003 09:03 AM

Hey, i just recently moved to a new server and everything was working fine. since i moved the vbindex page hasnt been working. is there something i forgot to change?

Tigga 05-05-2003 09:07 AM

glo - No problem. I'm sure you'll enjoy it. :) What exactly do you mean by "shuffel them around"?

DarkDraco - What error is it giving you? Did you change the path to your forums folder in your myvbindex.php file?

glo 05-05-2003 10:06 AM

Hi Tigga,

What i mean is...

Ideally I would like 2 have only 2 columns, The News in the centre and the user cp, active users, custom templates and polls all on the right column instead of the left hand side.

As I dont want to use the Latest Forum topics.

Tigga 05-05-2003 10:14 AM

Ahh ok. Yes, you can do that by editing the index template and changing the table structure there.

ivanmcp 05-05-2003 02:09 PM

Login to your forum admin, click on Templates (bottom left), then Modify.
If not expanded, click on Expand, then find mYvBindex Templates and click [expand].
From there, click on index [edit] . This is the default template, where I commented all the columns:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<!-- no cache headers -->
<meta http-equiv="Pragma" content="no-cache">
<meta http-equiv="no-cache">
<meta http-equiv="Expires" content="-1">
<meta http-equiv="Cache-Control" content="no-cache">
<!-- end no cache headers -->
<META NAME="title" CONTENT="$hometitle">
<META NAME="keywords" CONTENT="">
<META NAME="description" CONTENT="">

<TITLE>$hometitle</TITLE>
$headinclude
</head>
<body>
$index_header

<table width="100%" cellspacing="10"><tr align="left" valign="top">

<!-- LEFT COLUMN -->

<td width="165">

$welcometext

$buddylist

$loggedinusers

$search

$custom1

$currentpoll

$currentweather

</td>

<!-- END LEFT COLUMN -->

<!-- MIDDLE COLUMN -->

<td valign="top">$newsbits</td>

<!-- END MIDDLE COLUMN -->

<!-- RIGHT COLUMN -->

<td valign="top" width="170">

$custom2

$stats

$calendar

<table cellpadding="0" cellspacing="0" border="0" bgcolor="#0A293E" width="100%"><tr><td>
<table cellpadding="4" cellspacing="1" border="0" width="100%">
<tr id="cat"><td bgcolor="#1D6AA0"><smallfont color="#000000"><b>Latest Forum Topics</b></font></smallfont></td></tr>
$threadbits</table></td></tr></table>

</td>

<!-- END RIGHT COLUMN -->

</tr></table>
$index_footer
</body></html>

So, to move eg. weather box to the right column, just type $calendar in your left column where you want it to appear.
To copy all right hand column items to the left, you just move everything from right column between <td> and </td> tags, and then delete those (<td> and </td>).

This will leave you with only two columns.

DarkDraco07 05-05-2003 06:06 PM

hey Tigga, back on my old forum i changed the file to index.php. i made about 3 copies of this index.php for different pages in folders. they all worked fine. since i moved to the new site i dont get an error, it tries to load the page for like 10 minutes at a blank page then it gives me a page not found. www.darknemesis.com check it out

Tigga 05-05-2003 06:26 PM

That's odd that it would just give you a blank page like that. The best thing I could suggest would be to double check that all the templates are there. There's not anything else I can think of off the top of my head, so if you would like to set me up a temporary admin account at your forums and possibly FTP access to your server I'll log in and take a look. Oh, and I can't see anything on your site right now as you have your forums closed. I'm seeing the closed message on your homepage though, so that would mean parts of the script are actually working right.

Shawnn 05-06-2003 02:37 AM

I'm getting this error

Warning: SAFE MODE Restriction in effect. The script whose uid is 606 is not allowed to access /home/virtual/site101/fst/var/www/html owned by uid 0 in /home/virtual/site101/fst/var/www/html/index.php on line 16

Warning: Unable to access ./global.php in /home/virtual/site101/fst/var/www/html/index.php on line 19

Is this because my shared hosting is in safe mode and you have to turn of safe mode for the Vbindexpage to work?

Tigga 05-06-2003 02:44 AM

As far as I know safe mode shouldn't have an effect on the script. What did you set in the chdir part of your myvbindex.php file?

glo 05-06-2003 01:11 PM

Quote:

Yesterday at 01:09 AM ivanmcp said this in Post #1207
Login to your forum admin, click on Templates (bottom left), then Modify.

So, to move eg. weather box to the right column, just type $calendar in your left column where you want it to appear.
To copy all right hand column items to the left, you just move everything from right column between <td> and </td> tags, and then delete those (<td> and </td>).

This will leave you with only two columns.


Thanks Ivanmcp

Shawnn 05-06-2003 02:01 PM

Quote:

Yesterday at 08:44 PM Tigga said this in Post #1211
As far as I know safe mode shouldn't have an effect on the script. What did you set in the chdir part of your myvbindex.php file?

I have my chdir as www.nytech.ca/forums

Tigga 05-06-2003 10:33 PM

Shawnn - You need to put the path to your forums there, not the URL. Try /home/virtual/site101/fst/var/www/html/forums

Shawnn 05-07-2003 02:50 AM

thanks that did the trick :cool:

certify 05-07-2003 05:59 AM

I wanted to have news taken from 2 forums, anyway how do I do that?

Tigga 05-07-2003 03:05 PM

Shawnn - Glad you got it working. :)

certify - Yes. In your News Forum ID field, just put
XX OR forumid=YY
(Replace XX and YY with your news forum id's.)

reismarktq2 05-07-2003 05:09 PM

Two major problems I need help with ASAP.

The regular part of the script installed OK, but I ran into a stonewall when I tried to install the weather script (the install script keeps giving me a "This page cannot be displayed - Cannot find server or DNS Error"). I have made the necessary changes to the functions.php file, so that shouldn't be causing a problem...

Also, Latest Forum Headlines is checking threads in forums that have been designated as private... I DON'T want it to do that.

Help!

Harken 05-07-2003 08:59 PM

I did a fresh install...first time ever...and i just ended up with a blank page..i did check the path on myvbindex.php and its correct..
if you would like to look goto home.udgnet.com

Goat Boy 05-07-2003 09:04 PM

Here is where I am at, everything is installed and looks good except for 1 problem I cannot figure out so I have to post, Once I am on myVbindex page I cannot get to the main forums page to view all of my forums, I have been bashing my head trying to figure it out but cannot find where I went wrong.

Tigga 05-07-2003 11:27 PM

reismarktq2 - I think you're the 4th person now to complain about this problem... If you're sure that you've uploaded the weather_install.php file to your admin directory and you are going to the correct url, then I'm not really sure what the problem would be. If you would like to set me up a temporary admin account at your forums and a FTP account then I'll be glad to take a look and see if I can figure out what the problem is. Other than that though there's not much I can do.

Harken - Did you run the install file and do you see the index templates in your Admin CP?

Goat Boy - What do you mean you can't get to your forums? You can't find a link, or your forums page won't load? Can you post here or PM me with a link to your site?

glo 05-07-2003 11:31 PM

Quote:

Today at 08:04 AM Goat Boy said this in Post #1220
Here is where I am at, everything is installed and looks good except for 1 problem I cannot figure out so I have to post, Once I am on myVbindex page I cannot get to the main forums page to view all of my forums, I have been bashing my head trying to figure it out but cannot find where I went wrong.

You can get to the forums by clicking a link from the "latest Forum Topics" .

Alternatively, modify your header to include a link to the forums.

reismarktq2 05-08-2003 12:38 AM

Tigga: Please check your PM's...

Tigga 05-08-2003 12:46 AM

Looking into it now. :)

Goat Boy 05-08-2003 03:23 AM

Quote:

Yesterday at 08:31 PM glo said this in Post #1222
You can get to the forums by clicking a link from the "latest Forum Topics" .

Alternatively, modify your header to include a link to the forums.


I can click on the new posts in the "latest Forum Topics", to the forums but when I would like to view the foums as a whole that is where my problem lies.

GB

Harken 05-08-2003 03:23 AM

yes and yes...i checked..

Goat Boy 05-11-2003 05:10 AM

Ok Tigga figured out my 1st problem Thanks, I have 1 more question, is there a way to have myvbinbex.php and index.php in the same root folder but have myvbindex.php load first when you go to the webpage with just typing in www.yoursite.com/forums?

Jacko 05-12-2003 07:23 AM

ok tigga i have found 2 problems.

1. When i add smilies to my forum and use them in a news post it doesnt show any of my new smilies??

2. When the main index.php checks for a users Private Messages it pops up and says you have a new message. so i click ok and it sends me to:

www.realmods.net/private.php?s=

instead of:
http://www.realmods.net/forum/private.php?s=

how do i fix this??

Tigga 05-12-2003 05:22 PM

Harken - I'm really not sure why you would get a blank page like that if all the templates are installed and installed... If you would like to set me up a temporary admin account & FTP account and PM me with the details I'll gladly take a look to see what the problem is.

Goat Boy - There may be a way you could redirect users to your myvbindex page rather than the index page, but I'm not too familiar with redirects so I'm not sure how easy that would be to do. Alternatly you could rename your original index.php file and change the places in vBulletin and it's templates that calls your index.php page. I've never had a reason to do anything like that, so I'm not sure how hard it would be.

Jacko - When you put in the path to the smilies are you putting in the full path to them (ex /forums/images/whatever.gif)?
Thanks for pointing out the PM thing. I've been meaning to put instructions for that in the readme file for a while now and have forgotten every time I made an update. To fix that you just need to look in your head_newpm template and find private.php in two places. Replace that with $bburl/private.php both times.

Goat Boy 05-12-2003 09:08 PM

The redirect is a good idea but I do not have that option with my current webhost :( I created a seperate directory and having it working thanks for your time Tigga, you are a busy man!.

GB

Roxie 05-12-2003 10:01 PM

Sorry, I tried to read all 80 pages. Does this work with 2.3.0?
Thanks in advance.

Goat Boy 05-12-2003 10:04 PM

It is working for me using 2.3.0. You did better than me, I could only read through 30 before I got bored.

GB

Roxie 05-12-2003 10:06 PM

Hey, thanks for the fast reply.

Tigga 05-12-2003 11:19 PM

Quote:

10-17-02 at 05:20 AM Tigga said this in Post #1
Tested and stable with vBulletin v2.6+

You didn't have to read 80 pages. Just the first post. ;)

jarvis 05-13-2003 03:36 AM

Tigga,

I reinstalled and upgraded to 3.x, however some strange behaviour with news posts.

All replies/comments to a news post are showing up as individual news posts?

Has this been covered?

What I did was change the

Quote:

WHERE forumid=41 OR forumid=42 OR forumid=39 OR forumid=47 AND isnews='Y'
to pull news from multiple forums.

Thanks!

Jacko 05-13-2003 07:48 AM

Quote:

Yesterday at 07:22 PM Tigga said this in Post #1229

Jacko - When you put in the path to the smilies are you putting in the full path to them (ex /forums/images/whatever.gif)?
Thanks for pointing out the PM thing. I've been meaning to put instructions for that in the readme file for a while now and have forgotten every time I made an update. To fix that you just need to look in your head_newpm template and find private.php in two places. Replace that with $bburl/private.php both times.


sorted :)

excellent and quick reply and straight to the point (am still yet to get a PM on my main page though, maybe cause no-one wants to PM me :()

Jacko 05-14-2003 05:21 PM

i get the following error messahge when trying to enable HTML in the news forum??

Quote:

Database error in vBulletin Control Panel 2.2.9:

Invalid SQL: UPDATE forum
SET
styleid='1', title='Site News', description='All the sites news posts are viewable in here.',
active='1', displayorder='2', parentid='1', parentlist='13,1,-1',
allowposting='1', cancontainthreads='1', daysprune='30',
newpostemail='', newthreademail='',
moderatenew='0', allowhtml='1', allowbbcode='1',
allowimages='1', allowsmilies='1', allowicons='1',
styleoverride='0', allowratings='1', countposts='1',
moderateattach='0', allowdollaroffers =
WHERE forumid='13'
mysql error: You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE forumid='13'' at line 11

mysql error number: 1064

Date: Wednesday 14th of May 2003 02:16:59 PM
Script: http://www.realmods.net/forum/forum/admin/forum.php
Referer: http://www.realmods.net/forum/admin/...dit&forumid=13
and ideas??

Jacko 05-14-2003 05:31 PM

right its not just the news forum its all of them.. hmm maybe post this in another forum..?! :(

Tigga 05-15-2003 05:25 PM

jarvis - That's odd... Was it giving you problems before you changed the newsforumid part? You could try changing that query to something like this:
PHP Code:

WHERE isnews='Y' AND forumid=41 OR forumid=42 OR forumid=39 OR forumid=47 

If that doesn't work let me know.

Jacko - That's something to do with a hack you've installed. I can tell you it's something to do with the "allowdollaroffers = " part, but that's about it...

Angelus 05-17-2003 08:23 AM

Hello.
I did not want to read now 83 sides.
Therefore I write my request times at the risk that it was already times answered.

One can change that somehow that one can from the index gentleman out with a Vote co-ordinate and then to the inquiry is not linked, but to the index side back comes. And the same also with that log in.

Naturally one is not to that to then co-ordinate from the forum with the index to come.
Thus nevertheless already a little distorted the whole.

------------------------------------------------------------------------------
Und jetzt noch mal auf Deutsch. Die Google ?bersetztung ist echt grausam ;)
------------------------------------------------------------------------------

Hallo.
Ich wollte jetzt nicht 83 Seiten durchlesen.
Daher schreibe ich mein Anliegen mal auf die Gefahr hin, dass es schon mal beantwortet wurde.

Kann man das irgendwie ?ndern, dass man aus den Index herraus bei einem Vote abstimmen kann und dann nicht zu der Umfrage gelinkt wird, sondern zu der Index Seite zur?ck kommt.
Und das gleiche auch auch mit den einloggen.

Nat?rlich soll man dann nicht nach den abstimmen vom Forum auf den Index kommen.
Also doch schon ein wenig verzwickt das ganze.


All times are GMT. The time now is 11:12 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.02368 seconds
  • Memory Usage 1,844KB
  • 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)bbcode_php_printable
  • (8)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
  • (40)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