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


All times are GMT. The time now is 07:40 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.02045 seconds
  • Memory Usage 1,755KB
  • 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
  • (1)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