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)
-   -   Collapsable forums on forum home (https://vborg.vbsupport.ru/showthread.php?t=33961)

SirSteve 01-11-2002 10:37 PM

It's working great! BUT, I have a popular template hack, the Forum Posts Threads Last Post Moderator repeats per forum (look here: http://www.sirstevesguide.com/vbportal/forums ) and it would be nice if it also cleared that table row when collapsed. My other hangup is the expand/collapse gif is smack agains the forum name, where is this bit so I can add a space after it so it looks nicer?

StarBuG 01-11-2002 10:48 PM

forumhome_forumbit_level1_nopost is the template! :D

change it to:
<td colspan="6">$expandcontract& bsp;<a href="forumdisplay.php?s=$session[s

(without the space between & b ;))

and u have a space ;)

By the way: Your Forum doesn?t remember my settings also!

(You can delete my account! Just want to test it! ;))




Greetings

StarBuG

SirSteve 01-11-2002 10:52 PM

Quote:

Originally posted by StarBuG
forumhome_forumbit_level1_nopost is the template! :D

change it to:
<td colspan="6$expandcontract">& bsp;<a href="forumdisplay.php?s=$session[s
(without the space betweeb & and b)

By the way: Your Forum doesn?t remember my settings also!

(You can delete my account! Just want to test it! ;))


and u have a space ;)

Greetings

StarBuG

Thanks. I tried it but no go so I had to add a non-breaking space (&nbsp;) and it worked. :)

Now, about that other issue... ;)

It remembered my setting... ??

StarBuG 01-11-2002 10:58 PM

First you read my post during I was editing it cause I made a typo! hehe

2nd: Try this:
close all categories
refresh
open one
refresh and look if it is still open!

I tried it and it was closed again! ;)

greetings

StarBuG

SirSteve 01-11-2002 11:08 PM

hmm... you are correct. Like 1 out of 10 times it works...

StarBuG 01-11-2002 11:15 PM

Can u please try it with netscape to?
For me it was the same problem!

Greetings

StarBuG

ps: I would change the graphics!
I have made my own ones and if anyone wants them I have attached them here! ;)

dabean 01-11-2002 11:20 PM

Quote:

Originally posted by jminiman
Okay, I followed the instructions exactly, and forums home never changed. I selected one of my forums to be collapsed by default, and that didn't change anything.

Outside of what the readme prescribes, what else must I do to enable this to work? Where in admin CP do I turn it on globally? I just went into Forums--Edit to turn on collapsing for one forum.

You need to have a forum depth set to at least 2.
This hack can only collapse forums that would normally appear on the forum home page.

SirSteve: I don't have that hack installed I will look it over and produce a extension to add collapse support for it, when I have time.

All: rapidly expanding/contracting groups will cause it to forget the setting because IE/Netscape queue HTTP requests wait for the background load to happen (notice that collapsing/expanding causes your progress bar to start loading something), Netscape 6 takes slightly longer than IE.. but settings are saved. One extension I would love to provide is a status icon to show the settings being saved but IE lacks support for assigning the onload event dynamically :(.

StarBuG 01-11-2002 11:26 PM

If I understand u right dabean I have to wait longer so the changes can take effect!

If I collabs forums I can do it as fast as I can and a fast refresh doesn´t matter! It remembers the settings!
But the expand setting isn´t saved (I waited 30 seconds and the loadind was done long befor the refresh!)

Can u plz recheck your code or maybe recode the expand script so that it remembers it correctly!
I don´t think that this is a browser Problem:
a) netscape has the same problem
b) the collabs is working without any problems!

Greetings

StarBuG

Martz 01-11-2002 11:33 PM

I have reinstalled this hack from scratch and it doesn't remember any of my settings. :(

Any advice? I'm sure tje zipfile in your first post is outdated, I can't see any differences between it and the one without saved settings.

StarBuG 01-11-2002 11:37 PM

IF u find red code in your readme you have the right file!

But if not I have attached the right one!

Greetings

StarBuG

[Attachment removed - read dabeans reply!]


All times are GMT. The time now is 07:16 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.01404 seconds
  • Memory Usage 1,740KB
  • 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_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (1)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