vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Miscellaneous Hacks - [vBMods] Expanding Userinfo (https://vborg.vbsupport.ru/showthread.php?t=315521)

Black Snow 11-20-2014 10:00 PM

[vBMods] Expanding Userinfo
 
This is a mod to help keep your postbit neat and tidy while still displaying the necessary data/details.

It is a simple installation, just import the product XML, vbm_expand_userinfo.xml


You can edit the options under the settings, [vBMods] Expanding Userinfo

Complete Feature List
  • Option to disable the mod completely.
  • Option to show join date
  • Option to show post count
  • Option to show location
  • Option to show age
  • Option to show "To the Top" button on each post
  • Option to show PM button on each post
  • Option to enable collapse button
  • Option to enable mod on specific styles
Frequently Asked Questions.

Q. Why do I need such a thing, you ask?

A. Some admins might like to have this nice little addition to their site.

-------------------------------------------------------------------------------------------

Please remember to click the, "Mark as Installed" button to the right if you installed the mod ---->

What does 'Marking As Installed' do ?

* It helps you to stay on top of updates - members who have installed modifications will be notified whenever new updates are available.

* For security issues - vbulletin-mods.co.uk will contact all members who have installed a modification whenever a security issue is brought to their attention.

* Marking a modification as installed also helps me know how many people are using my work, giving me extra incentive to provide more features and new modifications.

I appreciate the support!
-------------------------------------------------------------------------------------------

* History (Changelog) *
-------------------------
v1.3.1 (21 May, 2015)
- Bug Fixes.
v1.3.0 (7 May, 2015)
- Bug Fixes.
- Added New Option: To the Top button
- Added New Option: PM button
- Added New Option: Disable collapse
- Added New Option: Disable on specific styles
v1.1.0 (9 March, 2015)
- Bug Fixes.
- Added New Option: Show Join Date
- Added New Option: Show Posts
- Added New Option: Show Location
- Added New Option: Show Age
v1.0.1 (24 November, 2014)
- Bug Fixes.
v1.0.0 (21 November, 2014)
- Initial public release.

ozzy47 11-21-2014 10:01 AM

What are the advantages/disadvantages of using your version over nhawks version, Postbit Collapser/Arranger ?

Black Snow 11-21-2014 10:08 AM

Quote:

Originally Posted by ozzy47 (Post 2523601)
What are the advantages/disadvantages of using your version over nhawks version, Postbit Collapser/Arranger ?

I have been asked numerous times about the one I use on my site as people like it so I decided to release a mod that is similar to the one I use.

At the moment, there is probably no advantages/disadvantages but possibly in the future I may add more options to the mod. I know nhawk (Snog) has switched to XenForo so I wasn't sure if he would keep developing for vB.

ozzy47 11-21-2014 10:13 AM

Gotcha, I have done many mods for the same reason, to ensure their continued support and development. :)

Black Snow 11-21-2014 10:16 AM

Quote:

Originally Posted by ozzy47 (Post 2523603)
Gotcha, I have done many mods for the same reason, to ensure their continued support and development. :)

Exaclty. If nhawk's mod was listed as "re-useable", I may have updated it in the future but I had to make it from scratch to allow vB owners to install something that would be developed for future versions and give support where needed.

Nirjonadda 11-21-2014 02:54 PM

Installed and Nominated But Its does not work on my site. I does not see any userinfo box. Have some more Feature Requests if you have want more Development ... !!!

Features Option:

1. Postbit Auto Collapser On/Off Option ?
2. Postbit Collapser First Post in Thread
3. Use Collapser Postbit In These Forums
4. Use Collapser Postbit In These Threads
5. Auto-Collapse (This setting controls whether the bars added to the postbit should be collapsed by default)
6. User group permissions for can Collapse Postbit Stats
7. Disable by Style ID (Disable for some/mobile styles)

Black Snow 11-21-2014 03:39 PM

Quote:

Originally Posted by Nirjonadda (Post 2523638)
Installed and Nominated But Its does not work on my site. I does not see any userinfo box. Have some more Feature Requests if you have want more Development ... !!!

Features Option:

1. Postbit Auto Collapser On/Off Option ?
2. Postbit Collapser First Post in Thread
3. Use Collapser Postbit In These Forums
4. Use Collapser Postbit In These Threads
5. Auto-Collapse (This setting controls whether the bars added to the postbit should be collapsed by default)
6. User group permissions for can Collapse Postbit Stats
7. Disable by Style ID (Disable for some/mobile styles)

Post a link to your site or PM me the link.

Nirjonadda 11-21-2014 03:49 PM

My site link is my Signatures, Firebug show me one error.

SyntaxError: syntax error , wysiwyg_css.js (line 1)

Black Snow 11-21-2014 04:18 PM

Do you have the mod installed and enabled? Also, can you check your postbit_legacy template. It may be that your template has been modified and it's preventing the mod from working.

Nirjonadda 11-21-2014 04:29 PM

Yes, enabled the mod and does not show, One more issue if mod enabled Quote Reply not work, Quote message in reply show only post Background.

Black Snow 11-21-2014 05:59 PM

Quote:

Originally Posted by Nirjonadda (Post 2523651)
Yes, enabled the mod and does not show, One more issue if mod enabled Quote Reply not work, Quote message in reply show only post Background.

Can you PM me a username and password with admin privs please?

Black Snow 11-24-2014 10:30 AM

<u>Update</u>
v1.0.1 (24 November, 2014)
- Bug Fixes.

Firyou 11-26-2014 07:34 PM

This breaks the entire post field on 4.2.0 pl4. The mod works, but everything is unreadable.

ozzy47 11-26-2014 09:18 PM

Quote:

Originally Posted by Firyou (Post 2524308)
This breaks the entire post field on 4.2.0 pl4. The mod works, but everything is unreadable.

You really should upgrade to 4.2.2 at a minimum, there is unpatched security issues in versions below that.

Black Snow 11-27-2014 09:58 AM

Quote:

Originally Posted by Firyou (Post 2524308)
This breaks the entire post field on 4.2.0 pl4. The mod works, but everything is unreadable.

Can you post a screenshot?

Firyou 11-27-2014 06:27 PM

Quote:

Originally Posted by Black Snow (Post 2524407)
Can you post a screenshot?

Heres how it looks on the default theme. All other modifications on the test forum are disabled

http://i.imgur.com/YE8Ni6h.png

Black Snow 11-28-2014 07:22 AM

Quote:

Originally Posted by Firyou (Post 2524521)
Heres how it looks on the default theme. All other modifications on the test forum are disabled

http://i.imgur.com/YE8Ni6h.png

OK, thanks. I will need to install a 4.2 test forum and fix this for you.

MistViper 03-01-2015 06:56 AM

I have a odd bug in some topics and not in others.

For more info see this:

https://vborg.vbsupport.ru/showthread.php?t=317567


I have the thank you hack installed but not sure that an other plugin is causing it.

I know 100% its not theme related as it even happens on the default theme.

Its jquery related.

Black Snow 03-01-2015 08:11 AM

Can you disabled the country flags mod and see if it still happens?

MistViper 03-01-2015 08:29 AM

Done, and that didn't change the bug form occurring. Can I add it back for now?

ps; by disable do you mean remove the coded I added in your file or disable the mod in acp?

I just noticed that in the first post of a topic the collapse doesn't work.


What if we didn't use jquery but instead use your method here;

https://vborg.vbsupport.ru/showthread.php?t=310807


Also this keeps getting more odd but here it works

http://mistviper.com/forum/showthrea...=2963#post2963

But if you go to the first page of that topic it doesn't.


Some character could be the cause here right?

Black Snow 03-01-2015 10:25 AM

It could be due to jQuety already being loaded on the page. I see you have a collapse on the thanks section on your forum. Disable the collapse on the thanks bit and seenif it works.

MistViper 03-01-2015 10:33 AM

Quote:

Originally Posted by Black Snow (Post 2539115)
It could be due to jQuety already being loaded on the page. I see you have a collapse on the thanks section on your forum. Disable the collapse on the thanks bit and seenif it works.

That fixed it!

BT7 03-01-2015 12:14 PM

Thanks for this. downloading now and will install very soon.

Cheers

MistViper 03-08-2015 11:15 AM

This mod causes my mobile themes not to work. Just noticed its caused by this mod.

There is no postbit and can't view pms.

Any way to fix that, that it ignores mobile themes and doesn't replace or alter the postbit on there?

Cla75 03-08-2015 11:54 AM

If I install this mod, all forums are completely empty.
Display some pages with header, navbar post but do not exist.
If I turn off the mod everything returns to normal.

Black Snow 03-08-2015 07:55 PM

Quote:

Originally Posted by MistViper (Post 2539826)
This mod causes my mobile themes not to work. Just noticed its caused by this mod.

There is no postbit and can't view pms.

Any way to fix that, that it ignores mobile themes and doesn't replace or alter the postbit on there?

I haven't had that issue with any of the testing thats been carried out on the mod.

Quote:

Originally Posted by Cla75 (Post 2539830)
If I install this mod, all forums are completely empty.
Display some pages with header, navbar post but do not exist.
If I turn off the mod everything returns to normal.

Again, this mod does not do anything on the forum display pages. Its only on postbit.

stained 03-09-2015 10:53 AM

Thanks for this mod. When I click to expand I get the following:

https://vborg.vbsupport.ru/external/2015/03/17.jpg

This isn't down to any failing of your mod of course but would you be able to give me any pointers as to how to solve it? I have everything wrapped in a conditional to prevent guests from seeing the user details and a couple of the fields aren't there with your mod installed. Thanks.

Black Snow 03-09-2015 11:16 AM

Quote:

Originally Posted by stained (Post 2539925)
Thanks for this mod. When I click to expand I get the following:

https://vborg.vbsupport.ru/external/2015/03/17.jpg

This isn't down to any failing of your mod of course but would you be able to give me any pointers as to how to solve it? I have everything wrapped in a conditional to prevent guests from seeing the user details and a couple of the fields aren't there with your mod installed. Thanks.

As for the weird code, see this: https://vborg.vbsupport.ru/showpost....5&postcount=21

It is caused by a jquery conflict. I am working on a bug fix for it to prevent this happening.

stained 03-09-2015 11:17 AM

Excellent. Thanks very much!

Black Snow 03-09-2015 09:36 PM

Update
v1.1.0 (9 March, 2015)
- Bug Fixes.
- Added New Option: Show Join Date
- Added New Option: Show Posts
- Added New Option: Show Location
- Added New Option: Show Age

Black Snow 03-09-2015 09:44 PM

Quote:

Originally Posted by Nirjonadda (Post 2523638)
Have some more Feature Requests if you have want more Development ... !!!

Features Option:

1. Postbit Auto Collapser On/Off Option ?
2. Postbit Collapser First Post in Thread
3. Use Collapser Postbit In These Forums
4. Use Collapser Postbit In These Threads
5. Auto-Collapse (This setting controls whether the bars added to the postbit should be collapsed by default)
6. User group permissions for can Collapse Postbit Stats
7. Disable by Style ID (Disable for some/mobile styles)

1. Why this option? Enable or disable to addon.
2. Why only in first post?
3. Why only in these forums?
4. Why only these threads?
5. What bars?
6. I don't see why you would only want some usergroups to be able to colapse/expand.
7. I can do this, but don't see why.

TheLastSuperman 03-09-2015 09:55 PM

Quote:

Originally Posted by Black Snow (Post 2539972)
7. I can do this, but don't see why.

Some styles may or may not show all info there, some are very clean/crisp/ or well how to say this... some folks want a certain style to shine over others OR they simply as the owner prefer that style and may or may not want info collapsed or not. That's the way I thought of it at least, dunno though guess we wait for OP to reply ;).

Black Snow 03-09-2015 10:00 PM

Quote:

Originally Posted by TheLastSuperman (Post 2539975)
Some styles may or may not show all info there, some are very clean/crisp/ or well how to say this... some folks want a certain style to shine over others OR they simply as the owner prefer that style and may or may not want info collapsed or not. That's the way I thought of it at least, dunno though guess we wait for OP to reply ;).

Hmm, I get what you are saying TLS, but why would you install this mod if you wanted the info on show? This is simply to reduce the length of the postbit userinfo section if you have a lot of fields on show.

TheLastSuperman 03-09-2015 10:27 PM

^ Ohh I meant to say that, they want to disable or enable that part of your mod in one specific style only but all other styles (if more than one installed w/ ability for users to switch) show it the other way.

Black Snow 03-09-2015 10:30 PM

Ahh, gotcha now! So, if they had 2 styles installed and only wanted it to run on 1 style, then a "disable on X style" would be handy. I'll get right on it and add it into the next update. I have already added a few new options to the next update.

TheLastSuperman 03-09-2015 10:38 PM

Yep Yep pretty much, everyone is different and as the saying goes "Different strokes for different folks" :cool:.

stained 03-10-2015 08:39 AM

Quote:

Originally Posted by Black Snow (Post 2539970)
Update
v1.1.0 (9 March, 2015)
- Bug Fixes.
- Added New Option: Show Join Date
- Added New Option: Show Posts
- Added New Option: Show Location
- Added New Option: Show Age

Many thanks for the update. This has fixed the problem I was having a few posts back :up:

Just one question: I have the vbseo likes given and received listed in my postbit (this mod). How do I get your mod to pick those up and display them? I looked at your xml but it's beyond my "talents" to incorporate the vbseo stuff myself.

These are the two calls that need to be picked up: {vb:raw post.vbseo_likes_in} and {vb:raw post.vbseo_likes_out}

Thanks for any assistance you can give.

Black Snow 03-10-2015 11:13 AM

Quote:

Originally Posted by stained (Post 2540010)
Many thanks for the update. This has fixed the problem I was having a few posts back :up:

Just one question: I have the vbseo likes given and received listed in my postbit (this mod). How do I get your mod to pick those up and display them? I looked at your xml but it's beyond my "talents" to incorporate the vbseo stuff myself.

These are the two calls that need to be picked up: {vb:raw post.vbseo_likes_in} and {vb:raw post.vbseo_likes_out}

Thanks for any assistance you can give.

You can add those two calls to the vbm_expanding_userinfo template under "posts" or similar. The template has all the hook locations so vbseo should be able to display in it if they have included a call in their plugins.

EDIT: I see its a template edit mod you are referring to. Just add those 2 calls into the template i mentioned above.

stained 03-10-2015 11:40 AM

Working perfectly now. Many thanks!

Toorak Times 03-11-2015 08:52 AM

Thanks Black Snow, makes things look a lot tidier


All times are GMT. The time now is 06:02 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.01594 seconds
  • Memory Usage 1,840KB
  • 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
  • (17)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (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