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)
-   -   Forum Introduction (https://vborg.vbsupport.ru/showthread.php?t=36153)

Tommy Boy 03-14-2002 10:00 PM

Forum Introduction
 
After installing this hack, you will be able to post a unique introduction for each forum. Sub-forums will show their parent's introduction, unless they have one of their own. This feature is available in ezBoard, so us ezBoard refugees are already familiar with it. ;)

This hack does not add any additional SQL queries to your forum! it was inspired by PPN's hack, which was based on FireFly's code.

Screenshot (thanks to ptbyjason).

ZiRu$ 03-15-2002 02:16 AM

i need a demo

mewgood 03-15-2002 02:29 AM

ya.
demo or screenshots plz

Vivi Ornitier 03-15-2002 04:33 AM

indeed, screenshot

Robert9 03-15-2002 06:23 AM

yeah, a sreenshot would be nice!

Lionel 03-15-2002 07:35 AM

just put the introduction in the unique header of PPN's hack?

Floris 03-15-2002 11:21 AM

demo/screenshot?
and your www doesn't work

Tommy Boy 03-15-2002 01:25 PM

ATTENTION: If you have downloaded the first version of this hack (1.0), please download it again, and apply all the admin/functions.php changes again. The optimization was not complete in the first version.
Quote:

Originally posted by Lionel
just put the introduction in the unique header of PPN's hack?
While this is possible, it will be a bit problematic in cases you want to change something in the header, and want it to reflect all the pages. Instead of just changing the "header" template, you will have to change a number of templates, equal to the number of introductions you have. This hack solves this.

Regarding the screenshot, I prefer not to do it myself. If anyone can install it and provide a screenshot, I'll link to it from the first post. Thanks!

ptbyjason 03-15-2002 01:59 PM

Screenshot since the update.

Thanks Tommy Boy :)

Vivi Ornitier 03-15-2002 04:04 PM

nice hack! works perfectly.

kushtiUK 03-15-2002 05:07 PM

thank, very handy for my forum.

Psychdrone 03-17-2002 07:58 PM

Hey man I love the hack, but no matter what I do, I have reinstalled this hack about 4 or 5 times, and Just nothing shows up

Help me:(

cessna140 05-17-2002 04:49 AM

Awesome hack! Just what I was looking for. By the way, I have 2.2.5 and it works as advertised.

How can I change the title "Forum Introduction" to be the actual name of the forum? I tried $forumid but it just returned the number. I also tried $title, $forumtitle without success.

Anyone?

Here is a screenshot:

squawell 05-17-2002 05:09 AM

/me like this hack and thankz Tommy Boy......

Wolf42 05-17-2002 07:41 AM

Yupp, very nice hack! :D *clickinginstallbutton*

Smoothie 05-17-2002 09:22 AM

When you create a new template with the "forumdisplay_introduction_xx", where xx is the ID of the forum, what code is needed inside the new template?

Boofo 05-17-2002 10:43 AM

cessna140,

Have you tried $forum[title]? :) I'm not sure this will work. Let me know if it does.

Boofo 05-17-2002 10:57 AM

That is supposed to be $foruminfo[title], sorry about that. :)

cessna140 05-18-2002 09:29 PM

Quote:

Originally posted by Boofo
That is supposed to be $foruminfo[title], sorry about that. :)
Hey Boofo,

That worked! Thanks!

Boofo 05-18-2002 09:41 PM

Thank Firefly, that's his code and how he does it here. :)

But, You're very welcome, anyway. :)

Smoothie 05-20-2002 04:30 AM

Quote:

Originally posted by Boofo
That is supposed to be $foruminfo[title], sorry about that. :)
Can you tell me where that code is added?

Boofo 05-20-2002 04:48 AM

Go to your showthread template and add it right above:

Code:

</table>
<!-- /breadcrumb, nav links -->


Smoothie 05-20-2002 05:04 AM

That didn't work for me. :(

Boofo 05-20-2002 05:14 AM

What do you mean it didn't work for you? Check the following URL out. This is exactly where I have it.

Testing

Don't pay attention to the disarray on the site. I am still working on it. :)

Smoothie 05-20-2002 05:18 AM

I checked it out, but aren't you using the Thread Intro hack?

Boofo 05-20-2002 05:32 AM

Yes. I am, but I remodified it for my board. It is here if you want it:

Install.txt

Let em know if I can help you with any of it. :)

Smoothie 05-20-2002 05:38 AM

Hey thanks! i did look at that hack, but the Forum intro hack was the one I really was interested in. I did install this hack, and it works perfectly, except for this one small detail.

Do you have the forum intro hack installed, or just the thread intro hack?

Boofo 05-20-2002 06:05 AM

I have just the thread intro hack installed. I am working on a forum intro hack to match the way it is on my board for the thread intro hack. If you are interested in something like that, let me know and I will let you know when I have it done and working. The only real problem I am having right now is with the tables. It is different for the forum display Intro than the thread one. :)

Smoothie 05-20-2002 06:25 AM

The forum intro hack is easier for us to manage. I'm not really looking to add intro's to threads. Too much work. And yes, that would be cool if you could let me know when you have something. I've added a few forum intro's on my forums, check 'em out. No real content in them yet, just a few lines of text.

Boofo 05-20-2002 06:36 AM

The thread intros are really easy with the hack I use. If you erase them, they automatically go back to the thread title. So you will always have something there, you just decide what it is. With the new version of the hack, you can now do a mass rename of all of your threads. Like if you wanted to make a board wide announcement for some reason (i.e. Holiday, news or whatever). :)

I will let you know when I have something for the forum intro. It will be like what I have for the thread intro though. I don't want an extra box at the top pf my screen, so that is why I did it this way.

Smoothie 05-20-2002 08:58 PM

HAs anyone figured out how to get the title of the "Forum Introduction" to read the same as the forum it's posted in?

cessna140 05-20-2002 09:14 PM

Yes, Boofoo gave me the correct code. This is where I put it and it works great!

In the forumdisplay_introduction template look for:

<td bgcolor="{tableheadbgcolor }". In that block of code, replace <b>Forum Introduction</b> with: <b>$foruminfo[title]</b>

That's all I did, works like it's supposed to. My code block looks like this now. Make sure you remove the spaces before the }.

<td bgcolor="{tableheadbgcolor }" align="center"><largefont><font color="{tableheadtextcolor }"><b>$foruminfo[title] </b></font></largefont></td>
</tr>
<tr>

Smoothie 05-20-2002 09:32 PM

Hmm, I tried that and it didn't work. Let me try it again.

Smoothie 05-20-2002 09:35 PM

Excellent! just added that bit of code, and it does indeed display the name correctly.
/me says thank you very much!

Boofo 05-20-2002 09:49 PM

cessna140,

That's Boofo, not Boofoo (only the wife gets to call me that and only when she's mad). :)

cessna140 05-20-2002 10:39 PM

Quote:

Originally posted by Boofo
cessna140,

That's Boofo, not Boofoo (only the wife gets to call me that and only when she's mad). :)

oops! So sorry Boofo! :dead:

Wayne2k1.com 05-21-2002 11:56 AM

Great dude :D

*install*

Boofo 05-21-2002 03:24 PM

Just giving you a hard time. :) np

Quote:

Originally posted by cessna140


oops! So sorry Boofo! :dead:


ZiRu$ 05-25-2002 05:00 AM

nice.....I'll install it

cdcopyworld 05-26-2002 06:08 AM

has anyone got this to work on VB v2.2.5? i keep getting errors.

cheers


All times are GMT. The time now is 02:45 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.01181 seconds
  • Memory Usage 1,791KB
  • 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
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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