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)

sjau 05-02-2003 08:46 AM

Hiya Tigga,

thanks for your help. I will try to accomplish that on the weekend.

You see, for the two clans I'm hosting I would like to have clan individual entry pages since both clans have each their own entry pages.

This way clan 1 will have displayed the 10 newest threads regarding their clan while clan 2 has the 10 newest threads regarding clan 2.
The will be in different locations for each clan. They also have some webspace available where they can add other things. They could for example host their whole website there.

madhouse 05-02-2003 11:12 AM

Hi tigga ,

Tried adding additional custom boxes but even with modifing the index.php(named to that from myvbindex.php) and add the templates , plus added $custom3 , 4 , and 5 .. It does not want to show them.

Also any way to add these extras to the admins panel so they can be turned off or on?

jarvis 05-03-2003 04:39 AM

Tigga,

It's good to see that you are still working on this script.

So here's my situation... I am myVbindex 2.0. Do I need to re-install, and will I lose my 'multiple instances' that you helped me setup before.

(reference: https://vborg.vbsupport.ru/showthrea...&pagenumber=21 )

I want to take advantage of your maintenance releases, but I want to understand what work lies in front of me.

Thanks!!

ivanmcp 05-03-2003 03:21 PM

Hi Tigga,

I was wandering if the 'Latest Forum Topics' feature can display message body as well as title (which it does).

Reason I ask is that I have been using Tubedoq's 'Last 10 posts' hack, which gives an option to turn message body to be displayed on/off. It also has an option to say how many letters do be shown; like your does for the message title. I have configured myvbindex 3.2 and it works a treat. But in order to lure visitors to the forum, I like to show them a bit of a message body as well on my home page.

Tigga 05-03-2003 04:16 PM

glo - Yes, it should be possible replicate that page. Everything is controlled by templates, so it should just be a matter of modifying the html in the templates to fit your needs

madhouse - If you'll refer to this post, it will tell you how to add the options to turn those templates on/off in the Admin CP.

jarvis - It's been quite a while since v2.0 and I don't think I even have a copy on my computer to compare 3.2 to anymore. Unfortunately I think your best bet would be to uninstall the script, and then do a new install of 3.2. You should be able to follow the same instructions though to have multiple instances of the script working, but if you have any problems let me know and I'll be glad to help.

ivanmcp - I'm not sure if there would be a way to do that without having quite a few additional queries on your homepage. I tried testing a few methods but didn't see a good way to do that without a lot of queries, or quite a bit of extra work. If you don't mind having an additional query on the page for each thread you have displayed then I can tell you how you could do it that way, but I wouldn't recommend it.

ivanmcp 05-03-2003 05:28 PM

Tigga,

Quote:

If you don't mind having an additional query on the page for each thread you have displayed then I can tell you how you could do it that way, but I wouldn't recommend it.
I would not mind seeing what is involved. But if you have no time, I think I can bring Tubedoq's script in there somewhere. I am not worried about additional queries, as I am not including many of the boxes on my test page of mYvBindex. I only use Calendar, Poll, Weather, News and Latest Forum Topics boxes.

For some reason, I preffer myvbindex to the other alternatives. If I can create my vision using mYvBindex, I will have to reward your effort that you put into this thing. Man, looking through this thread, you never get tired of constant 'technical support'. I wish I knew the way to search through this thread alone, and not the whole board, as it is getting far too long now. You need forum of your own :).

Enough of praise, off to play with templates. Once finished, I'll invite you to have a look. :)

Tigga 05-03-2003 11:02 PM

Thanks for all the compliments ivanmcp. :)
Just for future reference, there is a "search thread" feature. It's at the bottom of every thread here. ;)

Well to pull the contents of the post as well, here's what you would need to do... Open your myvbindex.php file and look for:
PHP Code:

  $lastposttime vbdate("$timeformat",$thread['lastpost']); 

Right Above that Add:

*Edit* The codes got messed up since there were so many vB code's in there, so I'm attaching it in a text file for you.

(I just borrowed the str_replace options from tubedogg's hack. ;)) Then at the very top part of that code you'll see $maxpostchars='50'. You would just change 50 to however many characters of the post you want it to display before it replaces the rest with "...". Then you would just add $pagetext in your index_threadbit template wherever you would like to display the text. It should be pretty easy, but if you have any problems let me know.

ivanmcp 05-04-2003 08:24 AM

Thanks for that, I will check it out later on today.

And as far as search this thread option is cencerned, lets all say it together, on 3:

1 ..... 2 ..... 3 ...... DDOOOOHHHHHHHHHHHHH!!!!

edit: nice hack, but should be placed somewhat higher. One never scrolls down to the copyright notice.

ivanmcp 05-04-2003 08:02 PM

Thanx Tigga,

It worked first time, and as you said, it was easy. It is not often that I can make something work in a first go.

I am cracking on with work on my site...

Tigga 05-04-2003 08:31 PM

Glad to hear it's working ok. When I tested it on my site the queries were rather small, so hopefully there won't be too much of a performance hit. :)
And I agree the Search Thread option might be better if it was placed somewhere else. I don't think I even saw it until I saw someone else that posted about using it.


All times are GMT. The time now is 12:00 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.02673 seconds
  • Memory Usage 1,749KB
  • 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
  • (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