vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Forum Home Enhancements - Forum Category Icons (Advanced) (https://vborg.vbsupport.ru/showthread.php?t=244351)

Dark_Wizard 06-11-2012 04:39 PM

Quote:

Originally Posted by New Joe (Post 2338753)
This week?

I have a fully running test forum 4.2.0, it works fine as per see apart from the Sub Forums which we've been on about.

You can have the URL and log in if you need to, PM me

Yes, waiting on Boofo to test something.

cstreater 06-13-2012 10:45 PM

Has anyone seen this in their forum manager, when they go to add a new forum? Disabled and went away.

Code:

Warning: asort() expects parameter 1 to be array, null given in [path]/admincp/forum.php(248) : eval()'d code on line 20

Warning: Invalid argument supplied for foreach() in [path]/admincp/forum.php(248) : eval()'d code on line 21

Edit: the answer was to read the install directions first :)

Cydefense 06-20-2012 08:20 PM

What's about android or ios ?

tup14 06-23-2012 10:20 PM

So still no hack for the sub-forum icons?:(

ged 06-25-2012 04:56 AM

If you manually change templates, it works for sub-forums.

visul 06-26-2012 10:57 AM

ged... can you please share... how to...
Thank you

Dark_Wizard... We still wait the update... Any news? :D

ged 06-26-2012 02:41 PM

There is an install.html in the .zip file. There are instructions, just follow them.

tup14 06-28-2012 12:42 AM

Does not work for sub-forum icons!!!!

tbworld 06-28-2012 03:49 AM

I have been using this mod for a long time. Besides altering where I store the icons (moved to a static site) and some weird "png" file extension thing, it has worked flawlessly, even on sub-forums. I do not recall messing with any of his code there. It has been a great mod for us... Thanks DarkWizard.

Note - We are running v4.2 and have 2 levels of nested sub-forums.

Disco_Stu 06-28-2012 11:05 AM

It does work on sub forums but it depends on how you set up the sub forums. I tried to explain that in post 595 but was promptly told I wasn't setting up the forums in the "normal" way (as if there is a mandatory way in which to set up your web site). If you read my posts you will see how I set it up.

Some folks need to learn how to think outside the box.

tup14 07-13-2012 11:06 PM

Some people need to know how to build a box.....:p

New Joe 07-14-2012 12:05 AM

My money is still on the table, along with one other poster.
$40 to the coder who can get this working with Sub Forums.

tup14 07-15-2012 12:05 AM

But it does work aren't you paying attention lmao! By the way thanks for that work around New Joe but man what a pain in the keyster....:D


QUOTE=New Joe;2347824]My money is still on the table, along with one other poster.
$40 to the coder who can get this working with Sub Forums.[/QUOTE]

New Joe 07-15-2012 12:30 AM

Doesn't work on Sub Forums.
Yes, that workaround is ok, but like you said, a whole load of work to do it.
That's why I'd rather pay for a fix.

tup14 07-15-2012 12:37 AM

Put me in for $20 :)


Quote:

Originally Posted by New Joe (Post 2348192)
Doesn't work on Sub Forums.
Yes, that workaround is ok, but like you said, a whole load of work to do it.
That's why I'd rather pay for a fix.


New Joe 07-15-2012 12:44 AM

Quote:

Originally Posted by New Joe (Post 2337332)
Ok, as I will be upgrading to 4.2.0 and this mod will save me so much time for the images if it worked with Sub Forums as it did before 4.1.10
I will pay $15 so anyone who can get this modification to work as per it should.

PM me for more info.

And if any other members are up for it, I say all pay $15 to the person who sorts it out.

I would be up for donating $15 to DW if he would update this mod, and if he does before anyone PMs me, I will donate right away to him.



Quote:

Originally Posted by visul (Post 2337546)
I put 15$ to.
I can send directly to you if you need to collect the money for this mod. Just PM the paypal details.

Great.
Ok so there we have it so far, any coder who can help with this PM me, to date we now have $30 to the coder who will update this to work as it should.



Quote:

Originally Posted by tup14 (Post 2348193)
Put me in for $20 :)

Ok.
So any coder who wants to make some money PM me.
We have so far, $60 to pay for a working fix.

Once a coder can do the fix, then I will get the money from the above 2 posters into my PayPal to then be able to pay the such coder.

New Joe 07-15-2012 10:12 AM

visul
and
tup14

I have someone lined up for the work, could both of you PM me so I can sort out the Paypal payment.
Thanks.

tup14 07-15-2012 11:20 AM

You got the P.M.



Quote:

Originally Posted by New Joe (Post 2348263)
visul
and
tup14

I have someone lined up for the work, could both of you PM me so I can sort out the Paypal payment.
Thanks.


New Joe 07-15-2012 11:47 AM

I did yes, thanks.
Got the coder sorted, should be easy as it's only an xml file, and it is either a small Template change from 4.1.12 to 4.2.0 or a hook change.
Anyway, thanks for you help with it all.

Dark_Wizard 07-15-2012 12:24 PM

Quote:

Originally Posted by New Joe (Post 2348263)
visul
and
tup14

I have someone lined up for the work, could both of you PM me so I can sort out the Paypal payment.
Thanks.

Ummm, this is against the forum rules, I DID NOT consent for someone else to modify my code. I am almost done with my fixes but I am very busy so show some PATIENCE AND RESPECT!

Dark_Wizard 07-15-2012 12:32 PM

Quote:

Originally Posted by New Joe (Post 2348192)
Doesn't work on Sub Forums.
Yes, that workaround is ok, but like you said, a whole load of work to do it.
That's why I'd rather pay for a fix.

Hence the reason it isn't completed yet...

New Joe 07-15-2012 01:26 PM

You can't fix it DW?

tup14 07-15-2012 01:48 PM

No disrespect but I'm also very busy but I run a forum for no profit to help peeps. It has been a very long time without a response that is why we tried to get a work around. Sorry for stepping on your toes and I will refrain from making further comments on this subject. :)


Quote:

Originally Posted by Dark_Wizard (Post 2348288)
Ummm, this is against the forum rules, I DID NOT consent for someone else to modify my code. I am almost done with my fixes but I am very busy so show some PATIENCE AND RESPECT!


New Joe 07-15-2012 01:55 PM

Quote:

Originally Posted by Dark_Wizard (Post 2348288)
Ummm, this is against the forum rules, I DID NOT consent for someone else to modify my code. I am almost done with my fixes but I am very busy so show some PATIENCE AND RESPECT!

Fair enough, I won't continue posting about this.

I think we all have respect for all the coders here, and as for patience, we have been going around in circles with this, over 3 weeks ago you said it was going to be done that weekend, but nothing.

Dark_Wizard 07-15-2012 03:57 PM

Quote:

Originally Posted by New Joe (Post 2348310)
You can't fix it DW?

Send me what you have and I will look at it. I'm working on a huge website (E-Commerce with over 33k products) at the moment so I am coding as I type this...I can see what you currently have and make it work.

Paul M 07-15-2012 04:40 PM

Quote:

Originally Posted by Dark_Wizard (Post 2348288)
Ummm, this is against the forum rules, I DID NOT consent for someone else to modify my code. I am almost done with my fixes but I am very busy so show some PATIENCE AND RESPECT!

There is no rule that says you cannot modify someone elses code on your own site, thats perfectly legal and acceptable.
What you cannot do is release the changed version in public as a complete thing. However, its also perfectly ok to post a list of changes - i.e find this ..., change to this ...

Disco_Stu 07-15-2012 11:55 PM

Quote:

Originally Posted by New Joe (Post 2348310)
You can't fix it DW?

Wow...you're really getting pushy. If you want this change so badly why don't you learn how to code and do it yourself?

You certainly presented yourself as an expert know-it-all on site development when you criticized my site design, so clearly you are a genius and should have no problems writing the mod yourself.

New Joe 07-16-2012 02:16 AM

Quote:

Originally Posted by Disco_Stu (Post 2348507)
Wow...you're really getting pushy. If you want this change so badly why don't you learn how to code and do it yourself?

You certainly presented yourself as an expert know-it-all on site development when you criticized my site design, so clearly you are a genius and should have no problems writing the mod yourself.

Not being pushy at all DS, I am not a coder and I don't have time to learn either.

I never presented myself as an expert know it all, and i NEVER criticized your site, I just said it was set up very differently than the norm, that is up to you, and I said that to you via a post and via PM, in a friendly manor.
Your post is not in a friendly manor.
Where have I said I am a genius?

DS, I am disappointed in your tone of your post.

Dark_Wizard 07-16-2012 08:55 AM

@ New Joe...send me your changes and let me see what I can do...

Eagle Eyes 07-24-2012 09:30 PM

What is the update on this? Does this work on 4.2 now as it should?

tup14 07-26-2012 09:17 PM

New Joe thanks for the sub-forum icon fix. It works as advertized. I installed and all my sub-forum icons showed up..:D

Disco_Stu 07-27-2012 12:48 AM

1 Attachment(s)
Is this what you guys are trying to do? It just takes one simple style change after installing this mod. I will not list the change without the mod authors approval.

Disco_Stu 07-27-2012 01:43 AM

1 Attachment(s)
Here's another example where I removed the commas and have all the sub forums on the same line with the subforum titles centered under the subforum icons. I also changed the link so the icons are hot links to the subforums just like the titles.

I think this one looks better than my first example.

Disco_Stu 07-27-2012 02:25 AM

1 Attachment(s)
And here's one last example with several forums where the last forum has sub forums with the icons. I think you get the idea now so I won't clog up the thread with any more examples.

By the way, I'm using 4.2 PL2

Disco_Stu 07-27-2012 03:28 AM

1 Attachment(s)
Dark Wizard, do I have your permission to list my change? As you can see from my examples it does work for sub forums.

My change is very simple and takes about 1 minute to apply.

I will not post my change without your approval.

Update:

I have a lot of work to do so I'll check back later for your reply otherwise this will have to wait until Monday.

Second Update

I have also figured out how to display the forum icon (or sub forum icon if displaying a sub forum ) at the top of the thread.

Notice in the last screen I removed the "Sub-Forum" header on the forum home display. Do we really need to tell people that these are sub forums? I think they can figure that out on their own.

*** Note that for these examples I changed some of the forums in post 674 to sub forums so you can see that my changes really do work for sub forums

Hey Tup14, are you still "lmao!" ? (post 653) - next time try believing someone when they say something works instead of mocking them.

I will explain how I made these changes after DW approves posting the changes.

Dark_Wizard 07-28-2012 08:32 AM

Quote:

Originally Posted by Disco_Stu (Post 2351778)
Dark Wizard, do I have your permission to list my change? As you can see from my examples it does work for sub forums.

My change is very simple and takes about 1 minute to apply.

I will not post my change without your approval.

Update:

I have a lot of work to do so I'll check back later for your reply otherwise this will have to wait until Monday.

Second Update

I have also figured out how to display the forum icon (or sub forum icon if displaying a sub forum ) at the top of the thread.

Notice in the last screen I removed the "Sub-Forum" header on the forum home display. Do we really need to tell people that these are sub forums? I think they can figure that out on their own.

*** Note that for these examples I changed some of the forums in post 674 to sub forums so you can see that my changes really do work for sub forums

Hey Tup14, are you still "lmao!" ? (post 653) - next time try believing someone when they say something works instead of mocking them.

I will explain how I made these changes after DW approves posting the changes.

It's fine, post away. Been too busy with my own stuff. I'll post your change in the first post of the thread with credit.

Disco_Stu 07-28-2012 04:03 PM

Here are my changes. I suggest you make a copy of your original code first as I am not responsible for any changes to your forums you make.

To display the sub forum icons:

Styles & Templates>Search In Templates>forumhome_subforums

Look for this line of code:

Code:

<a href="{vb:link forum, {vb:raw row}}">{vb:raw row.title}</a>{vb:raw row.comma}
and replace it (comment it out - I don't like to hard delete) with this code:

Code:

<br>
<div style="width:65px;">
<center><a href="{vb:link forum, {vb:raw row}}"><img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw row.forumiconimg}" /><br>{vb:raw row.title}</a></center>
</div>

That's all there is to it. Note that I left off the comma between subforums. If you want that then include "{vb:raw row.comma}" after "</a>". Also I included a <div> to control the width of the icon display and a <center> to center the title below the icon.

I also added a line break at the top of forumhome_subforums to add a line between the forum and sub forums.

If you want to control how many subforums are displayed on each line (I limit it to 4) then do this:

At the top of forumhome_subforums add this:

Code:

<script type="text/javascript">
var counter = 0;
</script>



Then after this line of code

Code:

<vb:each from="subforums" value="row">
add this:

Code:

<script type="text/javascript">
  counter = counter + 1;
  if(counter >4)
    {
      counter = 1;
      document.write("<br>");
    }
 
</script>

I also have some spacing code in the above code to move the sub forums to the right a bit but that's really up to you how you want to position the icons.

If you want to get rid of the "Sub-Forum" heading then comment out or delete this line of code at the top of forumhome_subforums:

Code:

<h4 class="subforumlistlabel">{vb:rawphrase subforums}:</h4>



To add the forum or sub forum icon at the top of a thread do this:

Styles & Templates>Search In Templates>FORUMDISPLAY

after "{vb:raw navbar}" add this line of code:

Code:

<img src="images/{vb:raw vboptions.forumiconimg_folder}/{vb:raw foruminfo.forumiconimg}" />
And that's all there is to it.

Milobil 07-29-2012 02:20 PM

Does it work on 4.2.0 ?

Disco_Stu 07-29-2012 02:34 PM

I'm using it on 4.2 PL2

Disco_Stu 08-01-2012 04:02 PM

Quote:

Originally Posted by Eagle Eyes (Post 2351146)
What is the update on this? Does this work on 4.2 now as it should?

It does if you add my changes after installing the mod. You can see my examples in post 675.


All times are GMT. The time now is 10:50 PM.

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.02115 seconds
  • Memory Usage 1,841KB
  • 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
  • (8)bbcode_code_printable
  • (16)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
  • (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