![]() |
Ahh thank you - this is a completly different file to the one in the first post!
I'll try this. /me skips off to bodge the forums... |
arrg I'm stupid the readme dated before this post has a misplaced line, (i can only bliam lazyness, copy paste and doing html in notepad ;))
} dostatesaveXP(itemID,1); should read dostatesaveXP(itemID,1); } This should fix the save problem. Please do not use starbug's attachment as it contains this error, I have changed the name and fixed the above error in the attachment on the first post. |
You are great!!
This corrected the error!! (By the way: The code to correct is in the forumhome_expandjscript template at the end! ;)) Thank you so much! Now everything works fine!! hehe So it was good I have "beta" tested the hack ;) Greetings StarBuG |
hehe,starbug. I really need to work on packaging releases ;)
Steve, I've looked over the hack you have installed change the forumexp function in forumhome_expandjscript to read. [change included in release] |
Quote:
|
Need to set the parent forums as categories--got it!
|
Should the code look like this then?
PHP Code:
Thanks. |
Quote:
|
I got them to show up, but I much prefer the look of parent forums acting as forums, rather than categories. Is there any way to somehow expand/collapse forums? Why were categories chosen to be collapsed, and not forums? Look at my site now . . . THIS is what I want to expand and collapse. It's much prettier, I think.
I love this look, but people complain that they want to see posted-to forums. |
jminiman: put the modifications in * forumhome_forumbit_level1_post
insted of * forumhome_forumbit_level1_nopost then (the exact alteration is to add $expandcontract ). martz: yes that looks correct. |
Quote:
Check out http://discuss.pocketnow.com Update: just restored everything so the parent forums are showing what they should by default, and still no plusses or minuses. |
Still not working for me. :(
http://forums.utassault.net/index.php?s= Isn't saving the settings, and I have double checked a lot of stuff. |
Got it to work, AND I moved the expand/contract images over the left-most cells so it looks a lot tighter.
Check it out: http://discuss.pocketnow.com You like? ;) Great hack! |
Quote:
http://www.sirstevesguide.com/vbportal/forums |
Martz: do you have phpmyadmin? to check that it is saving settings in the database.
SirSteve: cool :) and you need to add back the "function dostatesaveXP ()" found in the readme to the template. It starts on <!-- function dostatesaveXP (forumID, value) { all the way down to } function forumexp(itemID) { |
It's getting irratating that the settings are not saving... Also, I noticed in the status bar there is no "Error" on the page until I click the expand/collapse graphic...
|
sirsteve, the fix is in my post above.
Or replace forumhome_expandjscript with the attached file. This is only for people with the forum, post etc.. template hack. |
I tried the file but same thing. Although the "error" is gone from the status bar but it is still not saving my settings.
|
sirsteve visited your site it works for me, apart from a minor display glitch which is fixed by adding $fhomeexpandstyle
[change included in release] |
hmm.... guess I will clear my cookies and see what happens. Thanks. I added that other part as suggested.
|
SirSteve: I would recommend you redownload "forumhome_expandjscript2.txt" the version on your site does contain a small error, with out the update the hack may not from work correctly. (as of when I posted this)
|
Cleared everything and tried it again and now it saved just 1 setting but none of the others. err....
|
Ok, trying it now. Thanks.
|
SirSteve: sorry about the previous post but use this attachment. I ment to attach it above :)
If you want to check that it is installed correctly then http://yoursitehere/updateindex.php?fid=<forumid>&val=0 to expand a collapsed forum and http://yoursitehere/updateindex.php?fid=<forumid>&val=1 to collapse a forum. [after edit Attachment removed now part of the hack.] |
That worked! BUT, when you collapse it, everything collapses correctly with the extra hack that is there (the Forum Posts Threads Last Post Moderator template hack/addition) but when you come back, that Forum Posts Threads Last Post Moderator row is there, but collapsed. I guess you have to see it for yourself to understand. Thanks again!
|
I guess we are both typing at the same time. :) I will try the above.
|
Ok, tried the new attachment and it's almost there. See post #65 above.
|
I see the problem, I'll code up a fix over the evening for you.
After edit. Code is now part of the hack release. |
Thanks. I'll check back tomorrow then. :)
|
easier than it looked fix is above.
I will package this properly into the zip tomorrow however. |
That did it! Very cool and I (we) really appreciate your quick support on this!
:D |
The + and - images don't show up so I can't expand or contract it. I know its working though because when I set a forum to be contracted on Admin CP it contracted, I just couldn't open it manually. I am running windows 98 Second Edition and using version 5.50 of MSIE.
net.ba |
Quote:
forumhome_expandcontract exists and that forumhome_forumbit_level1_nopost contains "$expandcontract" Hack has been repackaged to include optional addon. |
I'm getting a couple errors with this. :(
The first is in the cx_install - I looked and this looks slightly different from the error reported earlier. Code:
Warning: Cannot add header information - headers already sent by (output started at /home/simpson/public_html/admin/cx_install.php:1) in /home/simpson/public_html/admin/functions.php on line 1498 And the second is on my forum home page I get: Code:
Warning: Cannot add header information - headers already sent by (output started at /home/simpson/public_html/admin/getbrowser.php:57) in /home/simpson/public_html/admin/functions.php on line 1498 Line 57 of the getbrowser.php is blank, so I deleted it leaving the "?>" as the last line. Reuploaded and reran the cx_install. But still errors. :( Any help? |
Now I'm getting a database error. :(Database error in vBulletin Control Panel 2.2.1:
______________ Invalid SQL: ALTER TABLE forum ADD collapsed SMALLINT DEFAULT '0' NOT NULL mysql error: Duplicate column name 'collapsed' mysql error number: 1060 Date: Saturday 12th of January 2002 01:59:01 PM Script: http://www.simpsonsboard.com/~simpso...all.php?step=2 Referer: ______________ I have the little icons next to the forum descriptions, and if I click on 'expand' the 'collapse' button will appear, but nothing changes other than the picture. |
this hack is a little corrupt, I was getting erros on the top saying stuff so I uninstalled the hack
|
I think I'm with you, Shenlong. I had to uninstall so I could reopen the site. :s
|
Follow the instructions, it works. Check it out at www.sirstevesguide.com/vbportal/forums
|
Quote:
As far as I know, I did follow the instructions, and rechecked them twice. :) |
The installation script makes all the important changes on its first run... rerunning it will throw a error. That is not important however, the error mysql error: Duplicate column name 'collapsed' does show that the installer worked.
Now as for the collapse not working check that the javascript contained in "forumhome_expandjscript" has been added to the page and that forumhome_level2_post does contain <tr id="f$forum[parentid]z$z" $fhomeexpandstyle align="center"> and yes there should be two 'z''s (only in v1.11) |
All times are GMT. The time now is 07:41 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 | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|