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 07-09-2003 12:17 AM

croft - Did you change your cookie settings as instructed in the install file?

mbowers - If your news forum is private, then the posts should only show up for people who have permission to view them. If you want to exclude the forum all together though, you can look in your myvbindex.php file for:
PHP Code:

$forums=$DB_site->query('SELECT forumid,parentid,displayorder FROM forum WHERE displayorder<>0 ORDER BY parentid,displayorder'); 

Replace that with:
PHP Code:

$forums=$DB_site->query('SELECT forumid,parentid,displayorder FROM forum WHERE forumid!=XX AND displayorder<>0 ORDER BY parentid,displayorder'); 

(Change XX there to the forum id of your news forum)

Yuber - I have the majority of the script working on my test site. I haven't added the poll or weather features yet since I don't use them, but the rest of the script is done. I also have to make an upgrade script that will install the templates and etc, plus write up some install instructions. Other than those few things though, the majority of the work is done. I've been extremely busy these last few weeks, so I haven't had much time to finish off those last few things. *Hopefully* I'll have a little more free time over these next couple of weeks.

CodeDawg 07-09-2003 12:38 AM

Again, I would be more than willing to test it on my test site. I love this hack and will not move to vB3 until you have this ready to go so anything can do to help with testing I will.

Zachery 07-09-2003 04:39 AM

Quote:

Yesterday at 02:13 AM mbowers said this in Post #1458
Is there a way to prevent the posts in the designated News forum from showing up on the Latest Threads list? I've got it set to private and news posts are still showing up on the home page.

Thanks


as far as i know you will see it but not others

croft 07-09-2003 07:37 AM

Yeah i fixed the cookie thingie =) thanks.

Some other questions tho.

1: How do i make it on the myvbindex page where latest forum topic is. I want it to show the last poster and not the starter of the post ?

2: Is there any way to add a link page or something to this script ?

3: is it possible to add some sort of download hack for this script ? Like where we can post all our downloads ?

Zachery 07-09-2003 11:58 AM

Quote:

Today at 04:37 AM croft said this in Post #1464
Yeah i fixed the cookie thingie =) thanks.

Some other questions tho.

1: How do i make it on the myvbindex page where latest forum topic is. I want it to show the last poster and not the starter of the post ?

2: Is there any way to add a link page or something to this script ?

3: is it possible to add some sort of download hack for this script ? Like where we can post all our downloads ?


1. no idea


2. there are two custom templates that appear on each side that you can add to it.

3. i think your refering to something more along the lines of php nuke or post nuke.

Tigga 07-09-2003 03:30 PM

1. Modify your index_threadbits template. The code is already there. ;)

2. Something like this? - https://vborg.vbsupport.ru/showthrea...threadid=49156

3. Something like this? - https://vborg.vbsupport.ru/showthrea...threadid=45454

Zachery 07-09-2003 03:53 PM

how does the arcive make for a downloads system?

Tigga 07-09-2003 04:23 PM

Oops... I guess I copied the wrong link. Just fixed it. :)

Lacrosse Boy 07-09-2003 09:57 PM

I really hate to be rude or annoying, but I am truly in need of a vB3 portal -- my boss wants it! :eek:

I'd be even happy to test it out for you so that you can also see how it works on other boards.

PLEASE! I am desparate!!!

Thanks

CodeDawg 07-10-2003 02:04 AM

Quote:

Today at 02:37 AM croft said this in Post #1464
Yeah i fixed the cookie thingie =) thanks.

Some other questions tho.

1: How do i make it on the myvbindex page where latest forum topic is. I want it to show the last poster and not the starter of the post ?



I did exactly that after my members complained:

I replaced the index_threadbit with

<tr><td bgcolor="$getbgrow">$thread[icon]<normalfont><a href="$bburl/showthread.php?s=$session[sessionhash]&threadid=$thread[threadid]" title="Last post at $lastposttime by $thread[lastposter]"><b>$title</b></a></normalfont><br>
<smallfont color="#666686">$lastposttime</smallfont><br>
<smallfont> by <a href="member.php?s=$session[sessionhash]&action=getinfo&find=lastposter&forumid=$forum[forumid]"><b>$thread[lastposter]</b></a><br>
Replies: $thread[replycount] | Views: $thread[views]</smallfont></td></tr>


This will display the last poster and last post time in the latests threads box. I am going to make it so that the link goes to the last post as well...just haven't yet.


All times are GMT. The time now is 11: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.02379 seconds
  • Memory Usage 1,748KB
  • 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_php_printable
  • (3)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