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)
-   -   Add-On Releases - Everywhere Sidebar 4 VB4 (https://vborg.vbsupport.ru/showthread.php?t=233871)

almannai 07-05-2010 03:28 PM

Quote:

Originally Posted by Big-K (Post 2064841)
Custom blocks for different pages will make this a "must-have".

:eek:
You mean different forums! Right!!
Quote:

Originally Posted by BRotondi (Post 2064857)
Congratulations! I forgot to mention, that I was not able to find a suitable solution for both ideas.

:)

almannai 07-06-2010 11:23 AM

Quote:

Originally Posted by Big-K (Post 2064841)
Custom blocks for different pages will make this a "must-have".

I think I got your point..

What is the point of hiding block in some forums and it can be displayed in faq.php page.

Did you mean that?

Don't Keep us guessing, just say yes even if u didn't mean that:D

almannai 07-07-2010 05:56 AM

I'm working on
•The ability to set different blocks for different forums.

Almost finished so if any other required features now is the right time to request it.

After this updat I don't know when will be next update.

BRotondi 07-07-2010 06:37 AM

Hi Almannai

1002 Thanks for all your engagement!

Now that I can select, which blocks will be visible, it would be very nice to have the sidebar everywhere. Especially on content.php, but also e.g. on editpost.php.

Regards, Bruno

SemperFideles 07-07-2010 04:12 PM

I have the User's Online Block Mod installed (https://vborg.vbsupport.ru/showthread.php?t=233965)

For some reason it works on FORUMHOME but not on any other sections with this Mod. All my other custom Forum Blocks are working except this one.

Does anyone have any ideas as to why this one Block won't display?

almannai 07-07-2010 05:30 PM

Quote:

Originally Posted by BRotondi (Post 2065721)
Hi Almannai

1002 Thanks for all your engagement!

Now that I can select, which blocks will be visible, it would be very nice to have the sidebar everywhere. Especially on content.php, but also e.g. on editpost.php.

Regards, Bruno

I don't know if this is advisable. To show forum sidebar on content page means we need to disable content sidebar(If it is possible! don't know yet, I will see).

For editpost.php it should work. Are you sure it is not working there?




Quote:

Originally Posted by SemperFideles (Post 2065944)
I have the User's Online Block Mod installed (https://vborg.vbsupport.ru/showthread.php?t=233965)

For some reason it works on FORUMHOME but not on any other sections with this Mod. All my other custom Forum Blocks are working except this one.

Does anyone have any ideas as to why this one Block won't display?

That is a nice mod from Lynne.

It will not work because Lynne is restricting the mod for forumhome only in second step

PHP Code:

if (THIS_SCRIPT == 'forum')
{
    
$cache[] = 'block_users_online';


I think if you disable the if condition it will work. Better to ask Lynne
Regards, Khalid

BRotondi 07-07-2010 06:04 PM

Hi Khalid
Quote:

Originally Posted by almannai (Post 2065968)
I don't know if this is advisable. To show forum sidebar on content page means we need to disable content sidebar(If it is possible! don't know yet, I will see).

Don't loose too much time with that! Was only an idea...
Quote:

For editpost.php it should work. Are you sure it is not working there?
By Default, yes. But I never tried to add it as "custom page". My Idea was an additional Setting "Show everywhere?" (or perhaps "Show in editpost.php?" etc.) But also here: It was only an idea, because you asked :).

E.g. for Project Tools I was able to enable it for all Project-Pages by simply search and Replace *.php (around 10 pieces):
  • {vb:raw navbar} -> {vb:raw navbar}{vb:raw sidebaropen}
  • {vb:raw footer} -> {vb:raw sidebarext}{vb:raw footer}
  • print_output($templater->render()); -> $templater->register('sidebarext', $sidebarext);\r\n$templater->register('sidebaropen', $sidebaropen);\r\nprint_output($templater->render());
Anyway: Where I need it, I know how to add it. Thanks for your efforts and again: Don't loose your time. It's only a "nice to have".

Regards, Bruno

almannai 07-08-2010 10:02 AM

Quote:

Originally Posted by BRotondi (Post 2065982)
Hi Khalid
Don't loose too much time with that! Was only an idea...
By Default, yes. But I never tried to add it as "custom page". My Idea was an additional Setting "Show everywhere?" (or perhaps "Show in editpost.php?" etc.) But also here: It was only an idea, because you asked :).

E.g. for Project Tools I was able to enable it for all Project-Pages by simply search and Replace *.php (around 10 pieces):
  • {vb:raw navbar} -> {vb:raw navbar}{vb:raw sidebaropen}
  • {vb:raw footer} -> {vb:raw sidebarext}{vb:raw footer}
  • print_output($templater->render()); -> $templater->register('sidebarext', $sidebarext);\r\n$templater->register('sidebaropen', $sidebaropen);\r\nprint_output($templater->render());
Anyway: Where I need it, I know how to add it. Thanks for your efforts and again: Don't loose your time. It's only a "nice to have".

Regards, Bruno

Hello Bruno,

no problem, I want to make it usefull for wide range of admins.

I will try to add it in content but still don't know which hook to use or template to change.

I will see.

Regards,

BRotondi 07-08-2010 10:52 AM

... right now I remember, that there were articles about vB 4.1 or similar, where sidebar and widgets shall be available for the whole forum. So too much work perhaps is not worth it... But anyway: Thanks!

Bruno

almannai 07-08-2010 01:44 PM

Quote:

Originally Posted by BRotondi (Post 2066295)
... right now I remember, that there were articles about vB 4.1 or similar, where sidebar and widgets shall be available for the whole forum. So too much work perhaps is not worth it... But anyway: Thanks!

Bruno

Ok the mod will be updated today without including content.

Khalid

BRotondi 07-08-2010 05:41 PM

Thanks for your Work! [perhaps you forgot to remove "I AM UPDATING THE MOD RIGHT NOW... PLEASE WAIT"?]

Right now I have plenty to do and therefore will not be able to test it, but again: Thanks!
Quote:

Originally Posted by almannai (Post 2066344)
Ok the mod will be updated today without including content.

:) ... surely the right decision. Now enjoy your saved time with girlfriend / familiy / a nice beer or some hours in the pool :)

Regards, Bruno

almannai 07-08-2010 05:56 PM

No I'm still updating

sorry if it is too long

A bug found at the last moment

It will be avialable in less than an hour

BW the new version should be 1.2

Khalid

BRotondi 07-08-2010 06:53 PM

No no, no problem :) Take your time! I was only wondering, since the description was updated. ... my fault.

Bruno

pilotxx 07-08-2010 07:41 PM

Hii

Thank you for this update. i just wait for this for a long time.

i just installed it. but i have major problem. the sidebar works on all forums but not on forum home... it happen even if i disable the hole ESB. if i disable the product the problem gone.

i use VB 4.0.4.

Thank you!

pilotxx 07-08-2010 07:59 PM

Quote:

Originally Posted by pilotxx (Post 2066490)
Hii

Thank you for this update. i just wait for this for a long time.

i just installed it. but i have major problem. the sidebar works on all forums but not on forum home... it happen even if i disable the hole ESB. if i disable the product the problem gone.

i use VB 4.0.4.

Thank you!

Sorry. now i see it but it's not on the side like it need to be. it's goiing down the page...

and i tried the block for each forum and it's not working...

cmiller1014 07-08-2010 11:06 PM

Thanks for your hard work on this. I couldn't do without it!

almannai 07-09-2010 07:02 AM

Quote:

Originally Posted by BRotondi (Post 2066467)
No no, no problem :) Take your time! I was only wondering, since the description was updated. ... my fault.

Bruno

:)

Can you please test it and tell how it goes

Quote:

Originally Posted by pilotxx (Post 2066490)
Hii

Thank you for this update. i just wait for this for a long time.

i just installed it. but i have major problem. the sidebar works on all forums but not on forum home... it happen even if i disable the hole ESB. if i disable the product the problem gone.

i use VB 4.0.4.

Thank you!

Quote:

Originally Posted by pilotxx (Post 2066501)
Sorry. now i see it but it's not on the side like it need to be. it's goiing down the page...

and i tried the block for each forum and it's not working...

Actully I'm working on 4.0.3

But I don't think there is major changes in 4.0.4 to make this mod not working on 4.0.4

How this mod works it searchs for some phrase and replace it with the sidebar

For example in forumhome it searchs for <div id="pagetitle"> and add below it the sidebar

see your forumhome source code if <div id="pagetitle"> exist

Maybe you are using other mod that is changing your forumhome before this mod


Quote:

Originally Posted by cmiller1014 (Post 2066572)
Thanks for your hard work on this. I couldn't do without it!

Is it working for you? What is your vbulletin version?

BRotondi 07-09-2010 07:46 AM

Quote:

Originally Posted by almannai (Post 2066699)
Can you please test it and tell how it goes

O.K. made a backup und installed it right on the server, so you can have a look: Link. interesting problem: Double Sidebar on custom Page. (vBulletin 4.0.4 PL1 German)

(No Problem since my Page is "under construction")

The other things seems to work. I will take a deeper look as soon as I have more time. (Solve the double sidebar and test your new "optional blocks".)

Regards, Bruno

Edit: H?? Double Sidebar does not happen on my XAMPP... Reset Server to last backup and will have a look, from where this came. ... hope in some hours.

almannai 07-09-2010 08:50 AM

Quote:

Originally Posted by BRotondi (Post 2066708)
O.K. made a backup und installed it right on the server, so you can have a look: Link. interesting problem: Double Sidebar on custom Page. (vBulletin 4.0.4 PL1 German)

(No Problem since my Page is "under construction")

The other things seems to work. I will take a deeper look as soon as I have more time. (Solve the double sidebar and test your new "optional blocks".)

Regards, Bruno

Edit: H?? Double Sidebar does not happen on my XAMPP... Reset Server to last backup and will have a look, from where this came. ... hope in some hours.

I forgot to mension also it is better to uninstall previous version and make fresh installation with Allow Overwrite set to yes

cmiller1014 07-09-2010 09:06 AM

BUG FOUND:

If a user has the same password as their username vbulletin will attempt to tell them this is not allowed, and ask them to change it. With everywhere sidebar enabled, they dont get this message, or anything for that matter. They get a plain white page on ALL areas of the site.

This is a very specific, and unique bug but it will cause some users to get a BLANK PAGE after logging in if the everywhere sidebar is is enabled. I wonder if there are other situations where this might happen too?

cmiller1014 07-09-2010 09:07 AM

Quote:

Originally Posted by almannai (Post 2066699)

Is it working for you? What is your vbulletin version?

Using 4.0.4 and its working well except for the one little bug mentioned above. I haven't tested all users or groups though so maybe there are other situations where it breaks the site for a user. Not sure yet.

almannai 07-09-2010 09:26 AM

Quote:

Originally Posted by cmiller1014 (Post 2066742)
BUG FOUND:

If a user has the same password as their username vbulletin will attempt to tell them this is not allowed, and ask them to change it. With everywhere sidebar enabled, they dont get this message, or anything for that matter. They get a plain white page on ALL areas of the site.

This is a very specific, and unique bug but it will cause some users to get a BLANK PAGE after logging in if the everywhere sidebar is is enabled. I wonder if there are other situations where this might happen too?

Quote:

Originally Posted by cmiller1014 (Post 2066743)
Using 4.0.4 and its working well except for the one little bug mentioned above. I haven't tested all users or groups though so maybe there are other situations where it breaks the site for a user. Not sure yet.

Can you put your forum url?

Make sure it is realy happening because of this mod and not other mod.

Also you can always disable everywhere sidebar for "Show in errors" from mod options

But I would say getting white page is not possible because of this mod, as the code will always add sidebar to the page and will not replace page content.

cmiller1014 07-09-2010 09:55 AM

Quote:

Originally Posted by almannai (Post 2066747)
Can you put your forum url?

Make sure it is realy happening because of this mod and not other mod.

Also you can always disable everywhere sidebar for "Show in errors" from mod options

But I would say getting white page is not possible because of this mod, as the code will always add sidebar to the page and will not replace page content.

Well I disabled all mods when checking this bug. When everywhere sidebar was turned back on, the white pages came back. :)

I'll PM you the url.

almannai 07-09-2010 10:15 AM

1 Attachment(s)
I've visited your site and register and tested error pages on your forum with no problem

I've also changed my password with no problem

Also I don't how you set username same as password and checked it!!!!!

cmiller1014 07-09-2010 10:45 AM

1 Attachment(s)
Quote:

Originally Posted by almannai (Post 2066760)
I've visited your site and register and tested error pages on your forum with no problem

I've also changed my password with no problem


Also I don't how you set username same as password and checked it!!!!!

Well now your username is the same as your password. Login and try it now. :)

I did that by changing the username, setting the password, then changing the username back. Now it simulates a user who has the same username and password but hasn't logged in since the update to vb 4.

Here's the screenshot :D

almannai 07-09-2010 10:59 AM

Quote:

Originally Posted by cmiller1014 (Post 2066768)
Well now your username is the same as your password. Login and try it now. :)

I did that by changing the username, setting the password, then changing the username back. Now it simulates a user who has the same username and password but hasn't logged in since the update to vb 4.

Here's the screenshot :D



Got it I don't know how on earth you find such a bug anyway

I would stay ages to find it:D

Fix is coming

cmiller1014 07-09-2010 11:02 AM

Quote:

Originally Posted by almannai (Post 2066775)
one moment please

Could you also disable the mod for error pages


There you go.... looks like that did it :)

almannai 07-09-2010 11:20 AM

Quote:

Originally Posted by cmiller1014 (Post 2066778)
There you go.... looks like that did it :)

no need found it

BRotondi 07-09-2010 11:45 AM

Found also the reason for the double sidebar: A bug of my own which I never realized until testing it with your new version. I never changed this in XAMPP, so the bug was only on the server but not on my test-system :rolleyes:.

Uskana 07-09-2010 11:59 AM

Nominated for MOD of the MONTH. vBulletin Forum appear much beautiful with this feature.

almannai 07-09-2010 12:21 PM

Quote:

Originally Posted by cmiller1014 (Post 2066768)
Well now your username is the same as your password. Login and try it now. :)

I did that by changing the username, setting the password, then changing the username back. Now it simulates a user who has the same username and password but hasn't logged in since the update to vb 4.

Here's the screenshot :D


Mod is updated and the bug is fixed

ver 1.2.1

Quote:

Originally Posted by BRotondi (Post 2066802)
Found also the reason for the double sidebar: A bug of my own which I never realized until testing it with your new version. I never changed this in XAMPP, so the bug was only on the server but not on my test-system :rolleyes:.

Hope you find it and fix it

Quote:

Originally Posted by Uskana (Post 2066812)
Nominated for MOD of the MONTH. vBulletin Forum appear much beautiful with this feature.

Thank you

pilotxx 07-10-2010 07:46 PM

Hii almannai!

i found the bug i had in my forum and now i can see the the sidebar on forumhome.

but i have a problem with the sidebar for wvery forum. i just not working...
i did folow your guide.

EDIT: When i use blockid: command it work for most of the blocks but when i try to show block on each sidebar it's not working.

pilotxx 07-10-2010 08:35 PM

i think i found the problem. the sidebar for each forum not working for HTML blocks... i try it with the LAST POSTS block and it works. but with any HTML block nothing happen.

Lifesupporters 07-11-2010 05:30 AM

Installed on my test forum and nominated for MOTM.

Great work!

almannai 07-11-2010 06:20 AM

Quote:

Originally Posted by pilotxx (Post 2067367)
Hii almannai!

i found the bug i had in my forum and now i can see the the sidebar on forumhome.

but i have a problem with the sidebar for wvery forum. i just not working...
i did folow your guide.

EDIT: When i use blockid: command it work for most of the blocks but when i try to show block on each sidebar it's not working.

Quote:

Originally Posted by pilotxx (Post 2067377)
i think i found the problem. the sidebar for each forum not working for HTML blocks... i try it with the LAST POSTS block and it works. but with any HTML block nothing happen.

Are the HTML blocks enabled? Are they not empty? remember empty block will not displayed as well in-active block.

Can you post your forum url?

Quote:

Originally Posted by Lifesupporters (Post 2067523)
Installed on my test forum and nominated for MOTM.

Great work!

Thanks

pilotxx 07-11-2010 07:31 AM

sure :) send you PM with my test site. will post it later my real site when it works for a demo.

And my HTML blocks enabled. i can see this blocks...

almannai 07-11-2010 02:25 PM

A friend asked me this

Quote:

1 more thing. Is there a way to show blocks on some forums but not on forum home?
Yes

If you set the following in "Filter Blocks by pages" box

PHP Code:

block_html_7

This will hide "block_html_7" block on all pages except forums

Then to hide it in all forums except for example forum id 1 and 2 we will put the following in the "Filter Blocks by forums" box

PHP Code:

block_html_7:1,

Best regards

monoco 07-11-2010 04:34 PM

When I try to block a forum block that includes "new forum threads" from showing it still shows.

In "Filter Blocks by forums" and "Filter Blocks by pages" I have this setting in both, block_threads_28:

but the forum block is still showing. All other types of forum block seem to be working fine.

Any ideas??

Videx 07-11-2010 04:44 PM

Quote:

Originally Posted by monoco (Post 2067701)
Any ideas??

Yes. Uninstall this mod until you get forum blocks working the way you want them. Or at least until you figure out what will work and what won't work in stock vb4. Any questions you have about forum blocks should go to vb.com, not in this thread.

almannai 07-11-2010 04:55 PM

Quote:

Originally Posted by monoco (Post 2067701)
When I try to block a forum block that includes "new forum threads" from showing it still shows.

In "Filter Blocks by forums" and "Filter Blocks by pages" I have this setting in both, block_threads_28:

but the forum block is still showing. All other types of forum block seem to be working fine.

Any ideas??

Can you please post your setting of "Filter Blocks by forums" and "Filter Blocks by pages"?


All times are GMT. The time now is 09:59 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.04705 seconds
  • Memory Usage 1,871KB
  • 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
  • (3)bbcode_php_printable
  • (34)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