vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.6 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=194)
-   -   Miscellaneous Hacks - Cyb - Sub-Forum Manager (https://vborg.vbsupport.ru/showthread.php?t=122996)

stelthius 03-14-2008 06:45 PM

Quote:

Originally Posted by yinyang (Post 1460242)
anyone try this with 3.7? if so, how'd it go?


Works perfectly no problem at all upliad the xml file and go to main vb options sweet as a nute great mod thank you


<Clicks installed>

Scooterpig 03-15-2008 05:08 AM

Anyone please able to tell me what templates this edits as can't get it going on added style but fine on default?

thenutthouse 03-15-2008 11:45 PM

very nice, have one problem though. Installed on 3.7. Looks good except for two forums have first subforum area pushed over to next column. How do I fix this? Image attached.

mark|3 03-16-2008 09:13 AM

got it up and running cheers

smokeyvol 03-16-2008 05:38 PM

I just had a thought.....

I currently have 4 columns showing right now with about 3 to 4 rows. Would it be an easy update to be able to set the number of rows also, and only have the "Hottest" subforums appear on the forum home?

e.g.

Say I have 20 subforums, 4 columns, and 3 rows (for a total of 12 spots). Now only the top 12 "hottest" subforums are showing on the main page and all 20 are showing within the forum.

Hopefully I made some sense :)

Dingo14 03-24-2008 11:05 AM

ok i installed this i put forum ids in to hide them insde the forum i wanted them in and nothing happens
Eg: Help Main Forum
sub-forums- Help with, chat about and so on they still display on forumhome

any help on this thanks been right through this thread tried everything no luck using v3.68

jedrus 03-24-2008 03:50 PM

hi,
it's great mod! congratulations :D

ArnyVee 03-28-2008 02:39 PM

Fantastic...thanks for this! Works for me on 3.6.8 without issues. :)

kronnos 03-28-2008 09:56 PM

How do you make it have a space instead of the comma?

iBaker 03-29-2008 01:18 AM

Installed - fantastic, easy and is great - thank you!

There is always a but :D
1. In the "Last Post" column on the forum home - is there anyway to show the last posts in each of the sub forums as well in there?

2. Also I use a Category forum and then forums listed in that category. I then have sub forums hanging off one of the forums in a category. When going to a forum from the forums home the sub forums are displayed at the top of the forum display of threads. is there any way to not show the sub forums

Thanks for any suggestions and again thanks greatly for such a fantastic mod!

Whiteyez 03-29-2008 10:01 AM

Thanks works fine in 3.7.0 C1

Basit 03-30-2008 12:03 AM

For some reasons not working for me on 3.7 RC1 at ..

Site: http://www.urdupoet.net/forum

Your help and guidance is much appreciated.

Regards,

Ice794 04-02-2008 03:44 PM

Excellent. Installed. Thankyou.

OLDrCF 04-03-2008 09:31 AM

Works great in 3.6.9 too :), nice mod.

Is there any way can increase the spacing between columns and perhaps make it consistent down the whole of the forums?

Install clicked too.

symptome 04-03-2008 07:09 PM

i've arranged it that I see 1 column with subforums.
How do I get the description of the subforum under it?

Thanks!
Marcel

onnenkolikko 04-06-2008 07:08 PM

Working fine except no matter what column amount I choose it still shows them all in one. Any idea what can cause this? I'm using 3.7 RC2

onnenkolikko 04-08-2008 08:07 AM

Quote:

Originally Posted by onnenkolikko (Post 1484602)
Working fine except no matter what column amount I choose it still shows them all in one. Any idea what can cause this? I'm using 3.7 RC2

Anyone?:confused:

Froggfish 04-08-2008 10:14 AM

Quote:

Originally Posted by onnenkolikko (Post 1484602)
Working fine except no matter what column amount I choose it still shows them all in one. Any idea what can cause this? I'm using 3.7 RC2

I got the same problem. What ever i do I cnly got one column :confused: Using 3.7 Rc2

onnenkolikko 04-08-2008 10:16 PM

Found the solusion to my problem here

Jenkins 04-10-2008 02:43 AM

this works great on 3.7 RC2, no issues. but can anyone tell me how to change the subforum icons on an individual basis?

jim6763nva 04-10-2008 03:35 PM

I got this working with 3.7 RC2 however today, when I went to integrate vbadvanced with my forums, something got messed up. Now my sub-forums are all listed on 1 line, for example:

Forum Name
Forum Description
Sub-Forums:
SubForumName , SubForumName , SubForumName , SubForumName , SubForumName

I have a lot of sub forums since I run a Virginia State-wide forum and I show sub-forums by city and county.

I had the VBSEO addon installed so I uninstalled that thinking maybe something there was causing it, however when I turn off the cyb-sub forums addon, all sub-forums start wrapping within the forum area below the main forum.

Anyone know what would be causing this?

Thanks in advance,
Jim

Jenkins 04-10-2008 07:17 PM

make sure it didn't revert any templates when you installed vbadvanced? dunno just a suggestion, maybe re-install the subforum manager xml file

jim6763nva 04-11-2008 12:50 AM

Quote:

Originally Posted by Jenkins (Post 1487729)
make sure it didn't revert any templates when you installed vbadvanced? dunno just a suggestion, maybe re-install the subforum manager xml file

Hey Jenkins,
Thank you for your suggestions. I tried a couple times uninstalling this addon and reinstalling it.. as well as deleting the forums and recreated them and resetting the forum information in the maintenance section. None of these worked.

It's weird. This is what I did to integrate a vba page, went to VBA CMPS secton in AdminCP:

1. Created a new page of type "module"
2. Set the title to "Forum"
3. Set the Id to "forum".
4. Set the display order to 2.
5. Added the Site Navigation block to the left column.
6. Excluded the Forum module page from the Site Navigation menu.
7. Set the Forum module page as the page to integrate with.
8. Changed the "THIS_SCRIPT" variable in the index.php file to "forum_index".
9. Added "forum_index" to the "THIS_SCRIPT Integration Method" box.

Integration went fine, but sub-forums are listed all on one line. If I have a lot of subforums, it will stretch the forum category table way out to the right.

I just found out tonight, if I undo the integration, and put the THIS_SCRIPT variable in the index.php file back to "index", and refresh the page, this addon (cyb_sub-forums) will work again, and all subforums will be listed in columns as set in the cyb_sub-forum settings.

I'm not sure where the issues is to be honest.

jim6763nva 04-11-2008 01:05 AM

Ok, I'm not sure if this is the correct way to do this but I took a look at the plugin for this addon and noticed that the code in the "parse_templates" hook is expecting the "THIS_SCRIPT" variable in the forum index.php file to be set to "index". I modified it to look at the new value I set for the integration ("forum_index") and this seems to allow the sub-forums addon to work.

At the top of the Parse_Templates" Hook there is the following line of code:
PHP Code:

 
 
 
if ($vbulletin->options['cybsfa_enable'] AND (THIS_SCRIPT=='index' OR THIS_SCRIPT=='forumdisplay')) 

I changed it to read:
PHP Code:

 
if ($vbulletin->options['cybsfa_enable'] AND (THIS_SCRIPT=='forum_index' OR THIS_SCRIPT=='forumdisplay')) 


Turelio 04-12-2008 07:37 AM

Thank you bro!

soundbarrierpro 04-13-2008 09:01 PM

I have this hack installed and I want my sub forums to look like this. I've done everything I can imagine to get mine to config this way and nothing works.

https://vborg.vbsupport.ru/external/2008/04/50.jpg

giraffesyo 04-21-2008 04:09 AM

Worked on my setup. I didn't use depth 1 though, I set it to 2 on all three depths and it works beautifully for my purposes.

Thanks :)


(Using 3.7.0 RC2

Sorky 04-22-2008 03:30 AM

Any chance of having an "include these forums" as opposed to the exclude? Or any advice on what to change to make it that way?

Also, if I have a sub-forum with no posts, the post count doesn't show and the alignment gets stuffed as those that do have posts are a little wider - can I get it to show (0/0)?

Sorky 04-22-2008 10:50 AM

Seems I had a few issues as I had changed some of the styles that this mod works with (My style changes were primarily to add a <br /> after the "," so I had subforums in a sigle column by default)

I wanted this MOD to enable me to have the long sub-forums listed in several columns, but I still wanted all the "excluded" forums as a single column

Long story short, I modified the mod to add two new options

1) show excluded forums as a list [forced excluded forums to be treated as a single column list]

2) show counts as 0/0 for sub-forums with no threads

PS : Great work Cybernetec - I've PM'd you my modifications if you are interested

Sorky 04-22-2008 11:00 PM

Quote:

Originally Posted by OLDrCF (Post 1481813)
Works great in 3.6.9 too :), nice mod.

Is there any way can increase the spacing between columns and perhaps make it consistent down the whole of the forums?

Install clicked too.

I had the same issue - Changed the "forumhome_forumbit_level1_post" style

Change 1 was to move the icon to the top (not necessary to solve your problem)
Change 2 was the fix

Code:

<tbody>
        <tr align="center">
                <td class="alt1Active" colspan="2" align="$stylevar[left]" id="f$forum[forumid]">
               
                <table cellpadding="0" cellspacing="0" border="0">
                <tr valign="top">
                        <td><img src="$stylevar[imgdir_statusicon]/forum_$forum[statusicon].gif" alt="" border="0" id="forum_statusicon_$forum[forumid]" /></td>
                        <td><img src="$vboptions[cleargifurl]" alt="" width="9" height="1" border="0" /></td>
                        <td width="100%">
                        <div>
                                <a href="forumdisplay.php?$session[sessionurl]f=$forum[forumid]"><strong>$forum[title]</strong></a>
                                <if condition="$show['browsers']"><span class="smallfont">(<phrase 1="$forum[browsers]">$vbphrase[x_viewing]</phrase>)</span></if>
                        </div>
                        <if condition="$show['forumdescription']"><div class="smallfont">$forum[description]</div></if>
                        <if condition="$show['forumsubscription']"><div class="smallfont"><strong><a href="subscription.php?$session[sessionurl]do=removesubscription&amp;f=$forum[forumid]" rel="nofollow">$vbphrase[unsubscribe_from_this_forum]</a></strong></div></if>
                        <if condition="$show['subforums']"><div class="smallfont" style="margin-top:$stylevar[cellpadding]px"><strong>$vbphrase[subforums]</strong>: $forum[subforums]</div></if>
                        </td>
                </tr>
                </table>
               
                </td>
                <td class="alt2" nowrap="nowrap">$forum[lastpostinfo]</td>
                <td class="alt1">$forum[threadcount]</td>
                <td class="alt2">$forum[replycount]</td>
                <if condition="$vboptions['showmoderatorcolumn']">
                <td class="alt1"><div class="smallfont">$forum[moderators]&nbsp;</div></td>
                </if>
        </tr>
</tbody>
<if condition="$childforumbits">
<tbody>
        $childforumbits
</tbody>
</if>



Quote:

Originally Posted by jim6763nva (Post 1487548)
I got this working with 3.7 RC2 however today, when I went to integrate vbadvanced with my forums, something got messed up. Now my sub-forums are all listed on 1 line, for example:

Forum Name
Forum Description
Sub-Forums:
SubForumName , SubForumName , SubForumName , SubForumName , SubForumName

I have a lot of sub forums since I run a Virginia State-wide forum and I show sub-forums by city and county.

I had the VBSEO addon installed so I uninstalled that thinking maybe something there was causing it, however when I turn off the cyb-sub forums addon, all sub-forums start wrapping within the forum area below the main forum.

Anyone know what would be causing this?

Thanks in advance,
Jim

That happened to me also - Took the "white-space:nowrap;" out of the "CSS 3" and back to normal

dklassen 04-24-2008 07:33 PM

My forums are fixed width. If I use any more than 1 column, it blows out the forums to the right. How can I tighten up the table a bit?

islamicvd 04-27-2008 10:59 AM

Does it work on 3.6.10?

aberg 05-01-2008 05:09 PM

Quote:

Originally Posted by islamicvd (Post 1500601)
Does it work on 3.6.10?

Yes, also on vbulletin 3.7.0
I have upgrade both versions

badheeu 05-03-2008 06:40 AM

If we install earlier version of mods to latest version 3.7.0, it gets database error always,
Im also on 3.7.0, So I need this mod, Its really important.


http://forum.kma.mv

Legende 05-03-2008 11:44 AM

*begging for an update* ;)

ovnnet 05-03-2008 03:34 PM

I'm Install Erorr Help Me
Code:

Database error in vBulletin 3.6.9:
 
Invalid SQL:
 
                REPLACE INTO vbb_setting
                    (varname, grouptitle, value, defaultvalue, datatype, optioncode, displayorder, advanced, volatile, validationcode, blacklist, product)
                VALUES
                    (
                    'cybsfa_enable',
                    'Cyb_SFA',
                    '1',
                    '1',
                    '',
                    'yesno',
                    5,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_switch',
                    'Cyb_SFA',
                    '1',
                    '1',
                    'number',
                    '<span class=\\\"smallfont\\\">\r\n            <input type=\\\"radio\\\" name=\\\"setting[$setting[varname]]\\\" value=\\\"1\\\" \" . iif($setting[\'value\'] == 1, \'checked=\"checked\"\') . \" />1\r\n            <input type=\\\"radio\\\" name=\\\"setting[$setting[varname]]\\\" value=\\\"2\\\" \" . iif($setting[\'value\'] == 2, \'checked=\"checked\"\') . \" />2\r\n            <input type=\\\"radio\\\" name=\\\"setting[$setting[varname]]\\\" value=\\\"3\\\" \" . iif($setting[\'value\'] == 3, \'checked=\"checked\"\') . \" />3\r\n            <input type=\\\"radio\\\" name=\\\"setting[$setting[varname]]\\\" value=\\\"4\\\" \" . iif($setting[\'value\'] == 4, \'checked=\"checked\"\') . \" />4\r\n            <input type=\\\"radio\\\" name=\\\"setting[$setting[varname]]\\\" value=\\\"5\\\" \" . iif($setting[\'value\'] == 5, \'checked=\"checked\"\') . \" />5\r\n            <input type=\\\"radio\\\" name=\\\"setting[$setting[varname]]\\\" value=\\\"6\\\" \" . iif($setting[\'value\'] == 6, \'checked=\"checked\"\') . \" />6\r\n            <input type=\\\"radio\\\" name=\\\"setting[$setting[varname]]\\\" value=\\\"7\\\" \" . iif($setting[\'value\'] == 7, \'checked=\"checked\"\') . \" />7</span>',
                    10,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_excludedforums',
                    'Cyb_SFA',
                    '',
                    '',
                    'free',
                    '',
                    15,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_affectexclforums',
                    'Cyb_SFA',
                    '1',
                    '1',
                    '',
                    'yesno',
                    20,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_tr_counts',
                    'Cyb_SFA',
                    '3',
                    '3',
                    '',
                    'select:piped\r\n0|cybsfa_none\r\n1|cybsfa_threadc\r\n2|cybsfa_postc\r\n3|cybsfa_bothc',
                    25,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_counts_exclforums',
                    'Cyb_SFA',
                    '',
                    '',
                    'free',
                    '',
                    30,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_subfcommas',
                    'Cyb_SFA',
                    '0',
                    '0',
                    '',
                    'select:piped\r\n0|cybsfa_hide\r\n1|cybsfa_no_changes\r\n2|cybsfa_apply_css',
                    35,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_subphrase',
                    'Cyb_SFA',
                    '1',
                    '1',
                    '',
                    'yesno',
                    40,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_blankline_subs',
                    'Cyb_SFA',
                    '',
                    '',
                    'free',
                    '',
                    45,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_countscss',
                    'Cyb_SFA',
                    'font-size:10px; color:darkgray;',
                    'font-size:10px; color:darkgray;',
                    'free',
                    '',
                    50,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_tableattribs',
                    'Cyb_SFA',
                    '',
                    '',
                    'free',
                    '',
                    55,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;),
    (
                    'cybsfa_cellattribs',
                    'Cyb_SFA',
                    'font-size:13px;white-space:nowrap;',
                    'font-size:13px;white-space:nowrap;',
                    'free',
                    '',
                    60,
                    0,
                    1,
                    '',
                    0,
                    'yb_'
  &nbsp;);
 
MySQL Error : Data truncated for column 'datatype' at row 1
Error Number : 1265
Date : Sunday, May 4th 2008 @ 12:32:55 AM
Script : http://xxxxxx.com/admincp/plugin.php?do=productimport
Referrer : http://xxxxxx.com/admincp/plugin.php?do=productadd
IP Address : xxx.x.x.x.x.x
Username : xxx.x.x.x.x.x
Classname : vB_Database


Anh 2 05-03-2008 08:42 PM

Repair table vbb_setting and re-install product. If u see second error message, call me if u need

mr.reza 05-13-2008 06:09 AM

Ca I use 2 columns for some forums and 3 column or One column for anothers?

DieselMinded 05-13-2008 08:42 AM

My forums blew out to the right also , it single filed all my sub forums when i attempted an over write the xml of the cyb advanced forum stats with blog entry fix .

I had to close my board , and reinstall both mods to fix the problem

Vehbi KOC 05-19-2008 07:18 AM

Thanks


All times are GMT. The time now is 03:11 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.02094 seconds
  • Memory Usage 1,883KB
  • 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_code_printable
  • (2)bbcode_php_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (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