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-02-2003 09:53 PM

Did you run the myvb_install.php file?

klunderj 03-02-2003 11:03 PM

yes, I did run the install file, it added all templates, db entries, etc, and I even added the weather portion.

I can see all the templates and modify them, I just dont see any new options on my admin cp? That is where they are supposed to be added right?

Is there a step in the myvb_install file that I can re-run to try to get vb_index options on my admin cp?

klunderj 03-03-2003 12:12 AM

I finally got my admin CP to see the myvbindex options. Not sure what happened.

Anyhow, Hard to believe, but this is one of my first succesful hacks installed. Still need to beef the site up... but thanks for this hack...

Does anyone know how to show all the forums on this index page, rather than just new threads?

Thanks again

Tigga 03-03-2003 05:45 AM

That is weird... Not sure why the options wouldn't have shown up if the install file was ran, but I'm glad to hear you got it working. :)
As for putting the forums on there, see the attachment in post #837 in this thread.

Dean C 03-03-2003 04:01 PM

Quote:

Originally posted by Tigga
Hey Mist, if you'll check this post I already explained how to go about doing that for someone else. I guess I should update the "mini-hacks" section on the first post since there's quite a few kinda scattered throughout the thread. ;)
I love you!

- miSt

imageconstrux 03-03-2003 09:38 PM

Hey Tigga -

The hack is installed, tweaking it now, but am having the same smilie problem others are having - it's putting post icons in when they shouldn't be, and referencing invalid path names, like:

domain.com/forums/images/icons/icon19.gif

when it should be

domain.com/forums/images/icons/sick.gif

How can I fix this? I've updated all post icon paths.

Thx,

Jeff

efulghum 03-03-2003 10:19 PM

Got the post icon issue resolved, for anyone else who is having problems, here is the fix.

Find:
PHP Code:

$iforumperms 'AND forumid=' implode(' OR forumid='$iforumperms

Change to:
PHP Code:

$iforumperms 'AND thread.forumid=' implode(' OR thread.forumid='$iforumperms); 

Find:
PHP Code:

$threads=$DB_site->query("SELECT threadid,title,replycount,postusername,postuserid,dateline,views".iif($showthreadicon,   ',thread.iconid','').
FROM thread WHERE open='1' AND open<>10 
$iforumperms ORDER BY lastpost DESC LIMIT $maxlatethreads"); 

Change to:

PHP Code:

$threads=$DB_site->query("SELECT thread.threadid as threadid,thread.title as title,thread.replycount 
as replycount,thread.postusername as postusername,thread.postuserid as 
postuserid,thread.dateline as dateline,thread.views 
as views,"
.iif($showthreadicon,'thread.iconid as iconid,icon.title as icontitle,icon.iconpath as iconpath','')." FROM thread ".iif
($showthreadicon,'LEFT JOIN icon ON icon.iconid=thread.iconid','').
WHERE open='1' AND open<>10 
$iforumperms GROUP BY 
thread.threadid ORDER BY lastpost DESC LIMIT 
$maxlatethreads"); 

Find:
PHP Code:

$thread['icon'] = '<img src="https://vborg.vbsupport.ru/vbimages/icons/icon' $thread['iconid'] . '.gif" border="0" align="absmiddle" alt="">'

Change to:
PHP Code:

$thread['icon'] = '<img src="'.$thread['iconpath'].'" border="0" align="absmiddle" alt="">'

That's it.

Regards,
Liz.

refertech 03-04-2003 12:45 AM

Everything has went well with the install but my news doesnt show up in the center of the page, just a blank white area and I'm sure I have the id correct. Someone have a clue what I might have done wrong.

Thanks,

Mark

h4x0rtje 03-04-2003 09:58 AM

This is really a great hack, 1 problem....

But I should ask this first:
I downloaded 3.1 yesterday, do I have to fix some nasty bugs or something already?

Oke, When you are unregistered, and you try to reply or vote (what is not allowed!)

Then you'll get an error message, but de vbullet.gif is nog coming up!

The link where he's looking at, looks like

This with all the error/acces denied etc errors/pages... how can I fix this?

Fix:
In Template Standarderror look for the location of the vb_bullet.gif, and replace {imagesfolder} in the real location, for example just /images/vb_bullet.gif

(This is a workaround, but I had to fix it today...)

imageconstrux 03-04-2003 09:47 PM

Mark - did you start a thread in that forum?

h4x0rtje - thanks - I have the same prob!

Jeff

Tigga 03-04-2003 10:52 PM

imageconstrux - The fix efulghum posted should work. On most servers there shouldn't be a problem with the way it pulls the icons now, but I guess it may be necessary on some configurations to join the icon table as well. If that doesn't work though let me know.

efulghum - Thanks for posting that fix. I'll be sure to join the icon table in the next release. :)

refertech - The script can only recognize threads that were created after the script was installed. If the posts were made after the script was installed and they're not showing up, check that you modified your newthread.php file correctly. If you need to update posts that were made before the script was installed, see this post for instructions on how to update them.

refertech 03-05-2003 11:34 PM

Thanks Tigga

and i want to tell you this after reviewing alot of this thread. I appreciate your patience and understand when dealing with people such as my self who are far from being as good a hacker as you are.

Mark

Oh yea, is it safe to upgrade to 2.3.0 C3 after this install?

Tigga 03-06-2003 01:58 AM

Thank you refertech. I'm not that good of a hacker yet, but I try to help where I can. :)
Yes, it is safe to upgrade to 2.3.0, but when you run the vB upgrade script it will delete the myvbindex templates that have not been customized. That's really not a big deal though as you can just upload the myvb_install file to your admin cp again and go to http://yoursite.com/forum/admin/myvb_install.php?step=2. That will install only the templates for you, and any that were customized will remain the same. As long as you do that you shouldn't have any problems, but if for some reason you do let me know.

h4x0rtje 03-06-2003 07:03 AM

I think it is discussed before... but I can't find it.

When the PM popup appeares on the vbIndex.php, and you click to see it, you are redirected to the wrong link it misses the forum directory......

Dean C 03-06-2003 03:31 PM

Tigga - by default the news has a break between each news post... like so:

--------
news1
--------

--------
news2
--------

etc etc...

Well is this hardcode because i can't located the <br /> or <br> tag to remove in the templates...

Regards

- miSt

Dean C 03-06-2003 06:48 PM

^ Ignore that silly comment :p

- mi

amykhar 03-06-2003 06:55 PM

Quote:

Originally posted by h4x0rtje
I think it is discussed before... but I can't find it.

When the PM popup appeares on the vbIndex.php, and you click to see it, you are redirected to the wrong link it misses the forum directory......

You need to modify your head_newpm template so that it has the full url and not the relative one.

Amy

Tigga 03-06-2003 07:02 PM

h4x0rtje - If you'll edit your head_newpm template and look for 2 places it has private.php - change that to the full url to your forums and it should fix the problem.

Mist - Don't worry, I usually do ignore your silly comments. J/K :p

Amy - Thanks for helping. :)

refertech 03-06-2003 09:51 PM

Ok, I'm stumped and I'm not really sure how to search for this in the thread.

My first problem is some of my weather pics arent showing up because of invalid links. Ex:hxxp://www.mysite.com/directory/test/images//weather//26.gif
Why would I have double / I know I've set something wrong.

I'm also having trouble logging out. I cant. :)

I have a few other problems so hang on to your hat Tigga. :)

Tigga 03-07-2003 02:00 AM

For the weather, you should be able to edit your index_weather template and change this line:

<img src="{ imagesfolder }/weather/$iconset$weatherdata[cicon].gif" border="0" alt="$weatherdata[context]">

Just change { imagesfolder } to the url to your board's images folder.

Did you change the cookie domian when you were installing the script? Changing that can affect the cookies for some people, so just try clearing your cookies and then logging back in.

refertech 03-07-2003 02:09 AM

I got it worked out. Thanks Tigga.

The post bit for the log in screen isnt showing up either. Where would i correct that url at? This is the url that it is calling for.

hxxp://www.mysite.com/forum//forum/images/vb_bullet.gif

Thanks for your help. I'll buy the beer next time. :)

Mark

Tigga 03-07-2003 05:25 AM

Check your standarderror template and make sure the url for the image is "{ imagesfolder}/vb_bullet.gif" - without the space after the { ;)

.:.NetStartz.:. 03-07-2003 01:12 PM

Hey...I love the hack...thanks... ;) www.eogn.net

I was wondering what I would do to make more custom windows? I want to be able to make $custom3 $custom4 etc...and also i'd like to be able to control it from the admin if possible. What do I have to do to do this?

refertech 03-07-2003 02:05 PM

It was correct. I'm not sure why it wasnt working. I just changed it to the entire URL and now it works. That shouldnt hurt anything should it?

Oh and I think the custom template buttons are backwards. When I check yes for custom template 1. It shows me custom template 2 and vise versa. And when I edit the custom template 1, it actually is editing the template labeled 2 on the home page.

When i try to log into my site after clearing all my cookies in my browser it get a 404 page. After entering my user and pass it calls for www.mysite.com/member.php when it should be calling for www.mysite.com/forum/member.php

:banana: <-- I sure like to watch him dance. :)

Mark

Tigga 03-07-2003 06:11 PM

Netstartz - Nice site. :) To add more custom templates, please check this post. The instructions there should be pretty simple... Then to have it so they can be turned off and on in your Admin CP, please see this post for the queries you would need to run.

refertech - Changing the image that way won't affect anything unless you have multiple styles for your board. If you do and a user selects a style besides the default, then they will see the wrong icon there. Other than that though there's nothing wrong with changing that.
You are right about the custom templates being switched... Well, actually it does display the correct template, but the index_custom1 template has "Custom 2" in it and vice versa. I'll be sure to update that in the next version so thanks for pointing that out.
What do you have set for the URL under "General Settings" in your main vBulletin options? I would suggest making sure that is set to the full URL to your forums as it seems that none of your links in the header work either... Those links and the login form use that option to determine what the URL is, so you should check to make sure it's set correctly.

refertech 03-07-2003 06:42 PM

yea I have check that url and its correct. This doesnt make sense to me and your right all the links are incorrect on the log in page which is why that image link was probably wrong too.
My url is as follows
hxxp://www.mysite.com/forum

Tigga 03-07-2003 08:09 PM

That's really weird... The $bburl is a global variable that should be able to be used anywhere on your forum, or with any file that includes the global.php file. Do you maybe have another hack installed that could somehow have messed that up? Here's something simple you can do to test and see if it's working other places... Go to your FAQ section and click on "What are referrals?" (last option in the 2nd block). In that section you'll see a url like this: http://plurplanet.com/forum/index.php?referrerid=1. Double check that the url there is correct and let me know if it is.

refertech 03-07-2003 08:14 PM

<a href="http://www.mysite.com/forum/index.php?referrerid=1" target="_blank">http://www.mysite.com/forum/index.php?referrerid=1</a>

Its correct. Man. Only me. If I can contact in you PM ill bring up something that might have caused it too, but i'm unsure.

Tigga 03-07-2003 08:19 PM

Hmmm... There's nothing I can think of off hand that would cause that, especially if it's working ok through the forum. You could of course edit the templates that have $bburl in them and change that to the full url to your forum, but that will make it harder if you ever change the location of your forum, domain name, or anything like that. It is at least an option though incase nothing else works. Feel free to PM me as well with what you think could have caused it and maybe that'll help.

Dean C 03-07-2003 08:46 PM

Tigga - i can't wait to show you what i've done with myvbindex, I LOVE THIS SCRIPT !!

- miSt

.:.NetStartz.:. 03-07-2003 09:08 PM

Yea it really is great...I started w/ vbhomelite but was to lazy to fix it up the way I wanted to. I learned a lot from playing around with this hack and VB in general.

Tigga 03-07-2003 09:17 PM

You'll have to send me a link to check it out. I'm sure you've done some nice things with it. :)
I just can't wait until the public beta for vb3 is out so I can start playing with that and making a new index with all of it's features. :D

.:.NetStartz.:. 03-07-2003 09:19 PM

Isn't upgrading from a fully hacked board to VB3 going to be a pain? I love all the features I'm seeing, but I have tons of hacks installed...

Tigga 03-07-2003 09:23 PM

Heh... Yea, it is going to be a major pain, but I think it'll be more than worth it with all the new features, plus from what I hear the coding is 10 times better. If you take a good look at my site you'll see that EVERYTHING on there uses the vBulletin database, so I figure that by the time I finish getting everything to work with the beta version then the full one should be out. :)

Dean C 03-08-2003 11:01 AM

I should be able to show you on monday/tuesday. This script is so versatile its unbelievable.

Just a comment. Why have a <p> tag at the end of every block to seperate it. This is bad coding because you don't close the tags at any stage. It would be best to use a <br /> tag instead :)

Regards

- miSt

Tigga 03-08-2003 05:57 PM

You know, in the 3 years that I've been writing HTML I was never aware that a <p> tag should technically be ended. Of course I've seen many people do it that way, but I wasn't aware that it should be done that way. Thank you for pointing that out. Though I've never had any problem with using the tag without closing it I'll keep that in mind and make sure to end it or use a <br> tag instead.
While we're on the subject, maybe you could tell me what the difference between a <br /> and <br> is? I had never seen the <br /> tag done that way until I started getting into PHP, but I've never quite understood what the difference is. :ermm:

Zachery 03-08-2003 06:14 PM

.

Tigga 03-08-2003 06:16 PM

Uh huh... Are you bumping all these posts for a reason Faranth?

refertech 03-08-2003 06:22 PM

/me was wondering the same thing.

refertech 03-08-2003 07:16 PM

Tigga,

Would this be possible?

Click Me


All times are GMT. The time now is 01:24 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.04382 seconds
  • Memory Usage 1,847KB
  • 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_code_printable
  • (6)bbcode_php_printable
  • (2)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