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 03-08-2003 07:31 PM

From looking at the post on Teckwizards, that should be fairly simple to impliment with myvbindex. The code you would need to search for would be a little different, but other than that it shouldn't be hard to do. Just search for // Latest Threads instead of the little block of code in the instructions, and then of course the templatesused part at the top will have different templates, but you would just add the new ones in at the end of that string.

refertech 03-08-2003 07:51 PM

// latest thread = should be in the myvbindex.php file?

Tigga 03-08-2003 08:06 PM

Oops... Looks like I used // Latest Forum Topics to note where that starts. Sorry about that! :)

refertech 03-08-2003 08:25 PM

Ahh, OK Thanks Tigga,

you've been very patient with me.

What part of the index template determines which side of the home page items are placed?

Tigga 03-08-2003 09:01 PM

It shouldn't be too hard to figure out... The first things you'll see are the boxes on the left side (welcome box, online users, poll, etc), which are all in one table cell. Then the news would be next, and the rest of the boxes are in the last table cell.

refertech 03-08-2003 09:12 PM

Yea, I figured it out. Sorry for the silly question. Thanks for your input on how to implement that Database Links. It worked out wonderfully.

Mark

Yuber 03-08-2003 09:47 PM

I have 2 question

1) You know how you showed us how to get rid of the news and right side when you click on a menu link(the part with the include.php)? I was wondering if there was a way to have just the news disappear and the left and right sides remain?

2) I was wondering how would I change my homepage to have images and border images like what vb.org's has? I don't want to use vb.org's style, I am just using then that they have images and border images as an example.

Tigga 03-09-2003 02:21 AM

Actually what I posted here was how to get rid of just the news. Check this post and you'll see how to do that. ;)
As for the images, that would require quite a bit of HTML changes. The best thing I could suggest would be to look at the source here and kind of use that to base yours on.

Dean C 03-09-2003 01:18 PM

These days most html code should be written in XHTML compatible source. <br /> is XHTML and <br> is old style HTML.

Simple as that :)

- miSt

refertech 03-09-2003 07:35 PM

How difficult would it be to add a header bar over the New to Identify which forum those post are coming from.

I need to fix the [Forgotten your Password] link on the login page still. What template would that be in?

Thanks,

Mark

Tigga 03-10-2003 02:16 AM

Mist - Thanks. :)

refertech - The links would be in your error_nopermission_loggedout or error_nopermission_loggedin templates.
As for your first question... Do you mean to show what forum a post is in in the latest threads part?

FleaBag 03-10-2003 05:48 AM

Tigga, I can't find the code I need for the Stylin Buddy List mini-hack.

Also, when is the new version you told me about coming out mate?

Rebel38 03-10-2003 08:06 AM

Hey Tigga I get this error when I try to install weather_install.php
Parse error: parse error, unexpected $ in /home/virtual/site1/fst/var/www/html/forum/admin/weather_install.php on line 10920

can you please tell me what could be causing this?
Thanks
Rebel

refertech 03-10-2003 10:22 AM

Actually I was just wanting to create a header over the news section of the home page that Identified where those New post came from. Mine come from Annoucements. No biggy just messing with the idea.

None of those templates contained the link for that. :( Any others I should look for? See the pic for the links I need to repair and ill probably just remove the register ones.

Tigga 03-10-2003 06:01 PM

GamerForums - The stylin buddy list is in the first post under the mini-hacks section.
I should be able to release v3.2 soon... The majority of it is done, but there are still a few small changes I need to make, I still need to test it out a little, plus I haven't had much time to work on it these last couple of weeks. At first I was just going to fix a couple of small bugs, but I decided to add a couple of new small features as well and I'm trying to make sure there will be no problems so that this will be the final release until vB3 comes out.

Rebel38 - Check that the file was uploaded completely and that it was uploaded in ASII mode.

refertech - One of those links should be in the templates above. The other 2 would be in the username_loggedout template. ;)
Oh, and I'm still not sure I follow you about the header thing... Could you maybe give me an example of what you're talking about?

refertech 03-10-2003 06:38 PM

Ahh, that was it. username_loggedout . Thanks a bunch.
I'll have to see if I can come up with a way to show you want I was looking for. More less nothing more than a extra strip that stays at the top of the news section to Identify where those post acctually come from. Nothing fancy. But ill see if I can make what I'm wanting in PS and put a image here for ya to see.

Thanks you so much for your help, you've been a lift saver.

Mark

Lacrosse Boy 03-10-2003 09:33 PM

Well, when I install 3.2, I have a question,

-How can I rearrange some of the elemnts, such as user fields, news etc. I am new to PHP, so I don't want to screw anything up! I would like to put the Custom /template 1 somewhere else. What would I need to change?

refertech 03-10-2003 10:42 PM

Edit the index template in the Myvbindex Template Set. Just arrange them the way you like. :) You will see what I'm talking about when you see the code.

Yuber 03-10-2003 11:02 PM

Quote:

Originally posted by Tigga
Actually what I posted here was how to get rid of just the news. Check this post and you'll see how to do that. ;)
As for the images, that would require quite a bit of HTML changes. The best thing I could suggest would be to look at the source here and kind of use that to base yours on.

Can you give me some good tips please? I know barely anything about html, and if I go by some stuff of vb.org's the longer stuff will be to long for such as stuff like online buddies. :(

arracing 03-10-2003 11:23 PM

its still showing closed polls for some reason i tried using both !=0 and =1 and they both dont work. I also tried with and without the '1' around the 1.

here is my code:

Quote:

$pollinfo=$DB_site->query_first("SELECT thread.pollid, thread.open, thread.threadid, thread.replycount, poll.pollid, poll.question, poll.dateline, poll.options, poll.votes, poll.active, poll.numberoptions, poll.timeout, poll.multiple, poll.voters FROM thread LEFT JOIN poll ON (thread.pollid=poll.pollid) WHERE thread.pollid!='0' AND thread.open='1' AND thread.open<>10 AND poll.active='1' AND thread.forumid!=64 AND thread.forumid!=49 AND thread.forumid!=47 AND thread.forumid!=40 ORDER BY RAND()");

arracing 03-11-2003 01:24 AM

hey tigga, i have decided i dont want the random pulling polls from all over my board after testing this out for a month now. Instead i want it to pull polls randomly from my specicif polls forum which is id number 71. Can you help me with that code?

Tigga 03-11-2003 01:56 AM

refertech - Do you mean something like a strip across the top of the news that states which forum the news is coming from?

Lacrosse Boy - As refertech said, all you need to do is edit the index template. It was designed to be very customizable and moving the "boxes" is as easy as moving a small variable for most of them. It doesn't really require any knowledge of PHP, just HTML. ;)

Yuber - About the best thing I can tell you is to find a tutorial on HTML that could explain it. There are several different ways it could be done with background images, regular images, and tables. Other than that I can tell you it just mostly requires using tables to get different images lined up together to appear as one... Hopefully that will at least help a little. :)

arracing - You would just need to change your poll query to something like this:
PHP Code:

$pollinfo=$DB_site->query_first("SELECT thread.pollid, thread.open, thread.threadid, thread.replycount, poll.pollid,
poll.question, poll.dateline, poll.options, poll.votes, poll.active, poll.numberoptions, poll.timeout, poll.multiple, poll.voters 
FROM thread LEFT JOIN poll ON (thread.pollid=poll.pollid) WHERE thread.forumid=
$pollsforum AND thread.pollid!='0' AND thread.open='1' 
AND thread.open<>10 AND poll.active='1' ORDER BY RAND()"
); 

Then just enter the id number of your polls forum in the mYvBindex options.

refertech 03-11-2003 01:59 AM

yea man. :) Sort of stupid i guess just thought I would play with it and see what it looks like.

Tigga after saying that much to that many people your suppose to say. SHEWWWWWW. :)

Mark

Tigga 03-11-2003 02:03 AM

LOL... Well the best way I would suggest for you to do that would be to just edit the index template and add some HTML in there to link to the forum. There are other ways to do that which would pull all the info from the database, but personally I don't see the point in doing it that way and adding an extra query when it could be done the easier way. ;)

refertech 03-11-2003 02:09 AM

[high]* refertech shakes Tigga's hand and says thank you. :)
[/high]

I'm off to Philadelphia till Thursday. See ya then. :)

Mark

arracing 03-11-2003 02:43 AM

thanks tigga, thats much better and less problems.

Tigga 03-11-2003 02:50 AM

refertech - Have fun in Philly. :)

arracing - No problem. Sorry it wasn't working right from all forums, but as far as I know the code I gave you should have worked. Oh well, glad it's working better now. :)

Kernel 03-11-2003 10:52 PM

Hey I have a problem. I was having problems with the weather and I found a "weathertemplate.php" on this post that the author posted. I installed it, and now I have 2 weather options and the weather table on my index is really...fat O.O

http://kernel.verbicide.net/php-bin/vbb

Can you please tell me how to uninstall just 1 of them? Preferably the template one I downloaded off of this thread. Thanks.

350Chevy 03-12-2003 02:03 AM

Hey Plurplanet er Tigga.. :D,

I just upgraded to 2.3.0 and noticed I needed to upgrade your MyvBindex as well. In doing so I replaced the templates that needed to be replaced and the index.php. Everything seems back in order but now the HTML in the news posts doesn't show?? I have HTML turned on still in the news forum. Does your latest version not support HTML in news posts anymore? TIA.. :D

It's also turned on in the CP under the MyvB options.. ;)

FleaBag 03-12-2003 11:18 AM

Tigga, I managed to integrate with "Who was online today" hack, as well as my own hack for hiding admins very easily... Thanks for a great script!

Tigga 03-12-2003 04:07 PM

Kernel - The best thing I can suggest to remove the extra setting and template is to delete them with phpMyAdmin. Just look for the "Show Weather" option in your setting table, and then one of the index_weather in columns your template table. Then below I'm attaching the index_weather template for this version.

350Chevy - As far as I know there's no reason it shouldn't allow HTML if it's turned on. You could try to save the settings again to make sure they were saved to the template. If it still doesn't work after that you could open your myvbindex file and look for $newshtml. If you replace that with a 1, it should solve the problem, but you won't be able to easily switch that off and on via your Admin CP. Or, if neither of those work or you would prefer for me to take a look at it I can try to find the problem if you want to give me FTP access and set up a temporary admin account for me on your board.

GamerForums - Glad to hear it. I didn't think it would be too hard to figure out. :)

350Chevy 03-12-2003 06:32 PM

Quote:

Originally posted by Tigga
350Chevy - As far as I know there's no reason it shouldn't allow HTML if it's turned on. You could try to save the settings again to make sure they were saved to the template. If it still doesn't work after that you could open your myvbindex file and look for $newshtml. If you replace that with a 1, it should solve the problem, but you won't be able to easily switch that off and on via your Admin CP. Or, if neither of those work or you would prefer for me to take a look at it I can try to find the problem if you want to give me FTP access and set up a temporary admin account for me on your board.

Thanks... I didn't really want to mess with it too much after upgrading everything 12 hours straight with 40+ hacks. I just replaced the $newshtml with a 1 and it works fine. I doubt I'll ever need to turn it off anyway.. ;)

Thanks again.. :D

Kernel 03-12-2003 09:01 PM

Thanks for the reply :) Well, I found 4 index_weather's and..i dont know which to delete. Do I delete them all and just leave 1? Also, there are other duplicates concerning weather...get rid of those too? :D Thank for the help.

--edit--
Heh I decided to take a risk and delete all the recent ones, and leave the oldest. Worked like a charm :banana: :banana:

refertech 03-12-2003 11:32 PM

Tigga,

Would it be possible to have images that i insert into the New post to show up in the Portal page news articles? Now if this has been asked allready I'm sorry. I'm still in Philly till tommorow and stuck on dailup. so searchs are going slow. :)

Thanks,

mark

ub3x 03-13-2003 07:47 PM

Anybody installed this with vb 2.3.0 RC3 ?

PKRWUD 03-13-2003 08:19 PM

Quote:

Today at 01:47 PM ub3x said this in Post #915
Anybody installed this with vb 2.3.0 RC3 ?

Works perfect with it. You will need to reinstall some templates if you are upgrading to 2.3.0, and already have mYvBindex installed. If you want to install mYvBindex for the first time, and are running 2.3.0, it will be a snap.

BTW, this is by far my favorite addition since installing vBulletin!

http://www.RiceHatersClub.com

Take care,
~Chris

Rebel38 03-13-2003 10:34 PM

Hey Tigga how do I add a counter to myindex.php?
I want to add a page counter to myindex.php, but dont know where to add it with out getting errors.
Can you please help me?
Thanks
Rebel38

Heffe2000 03-14-2003 01:57 AM

Is there an easy way to move the Latest Post Topics under the news, like on vbportals? I like your software much better, but my users like the old format. I tried searching the thread, but there's way too much to do that effectively :).

I also tried to hide several (read about 40) forums from the latest post topics using the method mentioned earlier in this post (AND open<>10 AND forumid!=xx), and kept adding the AND forumid!=xx's, one for each. So far it seems to not be working. In VBportal there was a place to put the forums you wanted to exclude (just a list of forumid's), would this be possible for your software also?

Krackills 03-14-2003 06:05 AM

ummmm moveing the new posts below the news to give it more room is this posible well yes it is bbut i dont know enuff php to do it so if you could tell me how that would be great!

mcyates 03-14-2003 10:19 AM

How can i add "last post by" to the recent descusion list. It has the author who created it but i also want the name of the person who last replied to the message. Take a look at the site below:

http://www.diyaudio.com

I want something similar to that/


All times are GMT. The time now is 04:55 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.02861 seconds
  • Memory Usage 1,835KB
  • 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
  • (4)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