PDA

View Full Version : Show Thread Enhancements - Postbit Collapser/Arranger


nhawk
11-14-2012, 11:00 PM
THIS ADD-ON IS NO LONGER AVAILABLE AND IS NOT SUPPORTED

This add-on makes the text portion of postbits collapsable and allows the selection and arranging of what profile fields will be displayed in postbits.


Features

Select which profile fields to display in postbits.
Select which standard vB fields to display in postbits.
Set the order that the fields will be displayed in.
Detects new profile fields and adds them to the postbit order display for selection.
Detects deleted profile fields and removes them from the postbit order display.
Does not add any database queries to the vB frontend.
Adds Local Date and Local Time options to the available fields.
Detects and adds Photopost Gallery option to the available fields.
Does not affect mods that add to the proper postbit hooks, but those items can not have their order changed.
Support for other mods to add their postbits to this add-on so the order they are displayed in can be changed.
After editing a post or posting a quick reply, the entire postbit for that post is shown to the member that edited/posted the post.



NOTE: This add-on contains the Local Date/Time code by the late Rob Hindal (Boofo). If a large number of people think this should be removed from this mod I will remove it.

This add-on will not work with any mod that forces the use of the standard vB postbit_legacy template, or with any mod that requires manual editing of the postbit templates.

Known Mods that do this:

[DBTech] Advanced Post Thanks Like v3.0.3 [Lite] (Due to double Blog This Post link)
Info box on Postbit (may work with edits to that mod)
Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO : (Due to manual edits)


A live demo of this can be seen on my site: http://snogssite.com


* INSTALLATION *
-----------------------
1) Upload the contents of the 'upload' folder to your forum's root.
(If your forum's location is http://www.example.com/forums/, the root is /forums/)

2) Import the product XML file (product-pbcollapse.xml) into the Product Manager in AdminCP.

3) Go to ACP->Postbit Collapser->Postbit Display Order and set the fields you want displayed.The Postbit Collapser will be in the Thread & Posts area of the ACP Menu
Be sure to save the options even if you don't make any changes.

4) Go to ACP->Postbit Collapser->Collapser Settings and turn the system on.

If you want to use a different graphic for the expand/collapse button in postbits change these buttons:
/images/buttons/collapse_40d.png
/images/buttons/collapse_40d_collapsed.png



* History (Changelog) *
------------------------------
1.05 (January 30, 2013)(NO NEED TO IMPORT XML IF YOU ARE RUNNING 1.04, JUST UPLOAD FILES)
- Add support for CompletevB templates that use <div> instead of standard CSS <dt><dd> formatting to do the same thing.

1.04 (January 26, 2013)
- Fix comments not showing on CMS articles.

1.03 (December 18, 2012)
- Fix style detection with vB version 4.1.10.

1.02 (November 29, 2012)
- Fix mobile styles not working.

1.01 (November 23, 2012) (never released on vB.org)
- Added option to arrange and display postbits without collapsing them.
- Added Last Activity and Last Post dates to display options.
- Fix postbit collapser not working with Vault Wiki.

1.0.0 (November 15, 2012)
- Initial Release

voglermc
11-16-2012, 01:33 AM
Will this use custom profile fields also?

DirtRider
11-16-2012, 03:14 AM
Yes it does I have it running on my site and this is one of the cool features of it. It also has a postbit if you have photopost installed linking to that members gallery and this is a very cool feature, something I have wanted for a long time. Overall this is a very cool mod and it really give a finished neatness to the thread view and can save a load of space if you have a long postbit with a lot of info in it.

nhawk thanks for all the effort put into doing this mod really appreciated. I think having Robs code in it and mentioning it is a very nice tribute to Rob

nhawk
11-16-2012, 10:58 AM
It will not only make your current custom profile fields available to be included in postbits, it will also detect when new custom profile fields are added and make those available too.

EDIT: I've attached a screenshot of the postbits containing the results of a radio button, single selection menu and checkbox custom profile field values. All types of custom profile fields can be used in postbits with this add-on.

Also other coders can include their postbit info so it's position can be changed in the postbit display. If not included, it will display in it's normal position and can't be moved. Instructions for coders are included in the .zip file.

Nirjonadda
11-16-2012, 04:20 PM
Can you add Postbit Auto Collapser On/Off Option ?

nhawk
11-16-2012, 04:31 PM
Can you add Postbit Auto Collapser On/Off Option ?

It's already there in settings.

Nirjonadda
11-16-2012, 04:37 PM
Postbit Display Order does not found Thanks and Thanks Stats,How to fix ?

nhawk
11-16-2012, 04:48 PM
Postbit Display Order does not found Thanks and Thanks Stats,How to fix ?

It can't change the order of another mod's postbits and they will appear where they normally would in the postbits. It says that in the description in the first post...

Does not affect mods that add to the proper postbit hooks, but those items can not have their order changed.


If you want the post thanks stats to be included so it's postbit order can be changed, you need to contact the author and have them follow the instructions in the Programmers_ReadMe.txt file included with the postbit collapser.

As a matter of fact, the Programmers_ReadMe.txt file uses the Post Thanks mod as an example of what is needed to add that info to Postbit Collapser. ;)

Nirjonadda
11-16-2012, 07:13 PM
Please Try to add option !

1. Postbit Collapser First Post in Thread
2. Use Collapser Postbit In These Forums
3. Use Collapser Postbit In These Threads
4. Auto-Collapse (This setting controls whether the bars added to the postbit should be collapsed by default)

Rich
11-16-2012, 07:48 PM
The timing of this modification is uncanny. I popped over here just now to see if this mod existed or if I needed to write one for my site. This mod is much appreciated. ;)

Nirjonadda
11-17-2012, 07:20 PM
Can you update on my requests ?

Please Try to add option !

1. Postbit Collapser First Post in Thread
2. Use Collapser Postbit In These Forums
3. Use Collapser Postbit In These Threads
4. Auto-Collapse (This setting controls whether the bars added to the postbit should be expand/collapse by default)

nhawk
11-17-2012, 07:30 PM
I do not think I will do any of those.

The purpose of this mod is to make the postbit area as compact as possible while still leaving the graphic information above the text area complete in all forums, threads and posts.

To add those defeats the purpose of the mod.

Mr_Running
11-26-2012, 06:16 PM
Postbit Collapser/Arranger <-- Great Mod :)

FYI
I have noticed that the postbit_collapse_legacy does not pick up any changes to the postbit_legacy. This mod...Info box on Postbit See here post #119 (https://vborg.vbsupport.ru/showthread.php?t=248454&page=8)

nhawk
11-26-2012, 09:09 PM
Postbit Collapser/Arranger <-- Great Mod :)

FYI
I have noticed that the postbit_collapse_legacy does not pick up any changes to the postbit_legacy. This mod...Info box on Postbit See here post #119 (https://vborg.vbsupport.ru/showthread.php?t=248454&page=8)

If you set 'Automatic Entry Into The Template' to 'Yes' in that mod, it shows properly. There's no need to add any code to the postbit_collapse_legacy template. (tested with version 4.1.4 of that mod)

EDIT: Discovered it only partially works. Added that mod to the list of known mods that force the use of postbit_legacy

Mr_Running
11-27-2012, 03:27 PM
Sorted. :) (https://vborg.vbsupport.ru/showpost.php?p=2385710&postcount=125)

Rideharder
11-29-2012, 06:42 AM
killed my mobile style!

Rideharder
11-29-2012, 06:44 AM
Sorry, removed

nhawk
11-29-2012, 11:32 AM
killed my mobile style!

This will be fixed in the next release.

Nirjonadda
11-29-2012, 06:31 PM
v1.02 Not working for me on 4.1.10 ?

nhawk
11-29-2012, 08:14 PM
v1.02 Not working for me on 4.1.10 ?

Roll back to the last version you had until I can find out why it's not working.

Actually I know why it's not working. vB 4.1.10 does not detect the mobile style the same way as vB 4.2.0. I need to see if I can make it work in both versions.

KGodel
12-18-2012, 07:25 AM
Reputation isn't handled well with this. Is there some way to include it with the rest of the fields?

nhawk
12-18-2012, 11:15 AM
Reputation isn't handled well with this. Is there some way to include it with the rest of the fields?

Rep Power is included with the rest of the fields. And it can be moved around without any problems.

Nirjonadda
12-18-2012, 06:18 PM
Roll back to the last version you had until I can find out why it's not working.

Actually I know why it's not working. vB 4.1.10 does not detect the mobile style the same way as vB 4.2.0. I need to see if I can make it work in both versions.

Have any update for work on 4.1.10?

nhawk
12-18-2012, 07:20 PM
Have any update for work on 4.1.10?

Sure, I've had the update running on a site that runs 4.1.10 for a while now to be sure there aren't any problems.

The update was released on my site today. It will follow here next week.

vb_nils
12-30-2012, 10:11 AM
Thank you for this mod.

Could you imagine to add an option permitting to select if by default the postbit info is collapsed or not?

cliff p.
01-04-2013, 12:10 AM
Not sure why (haven't really looked into it yet) but this mod isn't working for me OOTB.

-EDIT-

Just so I'm clear, it's not just modified styles, but all styles.

nhawk
01-04-2013, 10:50 AM
Not sure why (haven't really looked into it yet) but this mod isn't working for me OOTB.

-EDIT-

Just so I'm clear, it's not just modified styles, but all styles.

Check for mods that force the use of postbit_legacy..

This add-on will not work with any mod that forces the use of the standard vB postbit_legacy template

cliff p.
01-08-2013, 09:45 AM
I saw that after I posted. Apologies. It was the DBTech Thanks/Like mod. :(

meadwench
01-08-2013, 07:07 PM
Love the idea, but when using it with the default template and horizontal (new) postbit, it removes everything but the user name and member level. All the fields on the right side disappear when it is enabled.

nhawk
01-08-2013, 08:23 PM
Love the idea, but when using it with the default template and horizontal (new) postbit, it removes everything but the user name and member level. All the fields on the right side disappear when it is enabled.

Could you post a screenshot of what you're talking about?

The attached screenshot is how it should look using the default postbit template. It shows the postbit info collapsed and expanded.

The postbit info should be hidden when it is collapsed. On some site, the postbit info is huge and takes up a lot of room. This mod hides it so it doesn't take up so much room.

GONUMBER6
01-20-2013, 06:55 PM
Excellent mod, thanks!!!!!

GONUMBER6
01-26-2013, 12:32 AM
I think I may have found a bug. When enabled, my comments on articles won't show. Disabled they do.

Also is there a way to make the country flags work with this? My members are crying and want their flags back. :D

nhawk
01-26-2013, 11:07 AM
I think I may have found a bug. When enabled, my comments on articles won't show. Disabled they do.

Also is there a way to make the country flags work with this? My members are crying and want their flags back. :D

Yes you did find a bug. Thank you!

I'll have the fix for that out shortly.

Which country flag mod are you using? If it's Boofo's country flags mod, you need to make this change to his 'Country Flags Template Edits' plugin...

Find...
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';


Replace it with...
if($vbulletin->options['pbcollapse_offon'])
{
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_collapse_legacy' : 'postbit_collpase_postbit';
}else{
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
}

Mr_Running
01-26-2013, 12:34 PM
Which country flag mod are you using? If it's Boofo's country flags mod, you need to make this change to his 'Country Flags Template Edits' plugin...

Find...
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';


Replace it with...
if($vbulletin->options['pbcollapse_offon'])
{
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_collapse_legacy' : 'postbit_collpase_postbit';
}else{
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
}

Thanks for the fix :)

GONUMBER6
01-26-2013, 02:14 PM
Yes you did find a bug. Thank you!

I'll have the fix for that out shortly.

Which country flag mod are you using? If it's Boofo's country flags mod, you need to make this change to his 'Country Flags Template Edits' plugin...

Find...
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';


Replace it with...
if($vbulletin->options['pbcollapse_offon'])
{
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_collapse_legacy' : 'postbit_collpase_postbit';
}else{
$templatename = $vbulletin->options['legacypostbit'] == 1 ? 'postbit_legacy' : 'postbit';
}

It's this one: https://vborg.vbsupport.ru/showthread.php?t=229511

Thanks for your prompt reply!

Lightmaster-AH
01-26-2013, 03:03 PM
Hallo,

sorry of my bad english. I installed this addon in my testforum and its great, but in the mobile style it kills the posts. Nothing to see in showthread. How can I fix this?

Thanks!

nhawk
01-26-2013, 04:38 PM
It's this one: https://vborg.vbsupport.ru/showthread.php?t=229511

Thanks for your prompt reply!

I won't be able to do anything with that until Monday. But I will take a look at it.

nhawk
01-26-2013, 04:39 PM
Hallo,

sorry of my bad english. I installed this addon in my testforum and its great, but in the mobile style it kills the posts. Nothing to see in showthread. How can I fix this?

Thanks!

What version of vBulletin are you running?

Do you have the mobile style properly defined in ACP->Settings->Options->Style & Language Settings? (Default Style for Old Mobile Browsers and Default Style for Modern Mobile Browsers) They can't be set to 'None'.

GONUMBER6
01-26-2013, 04:54 PM
I won't be able to do anything with that until Monday. But I will take a look at it.

Can you link me to boofos country flag mod? I cannot find it, am interested in seeing if its a better mod that can do the job :)

nhawk
01-26-2013, 04:57 PM
Can you link me to boofos country flag mod? I cannot find it, am interested in seeing if its a better mod that can do the job :)

His mod was a premium mod. You won't find it anywhere. After he passed away, his premium mods became unavailable.

Lightmaster-AH
01-26-2013, 05:07 PM
Do you have the mobile style properly defined in ACP->Settings->Options->Style & Language Settings? (Default Style for Old Mobile Browsers and Default Style for Modern Mobile Browsers) They can't be set to 'None'.

Thanks! That was it :) Now all runs on every style :D

GONUMBER6
01-26-2013, 07:25 PM
His mod was a premium mod. You won't find it anywhere. After he passed away, his premium mods became unavailable.

Very sorry to hear of his passing. Thanks for replying, no wonder I could not find him.

nhawk
01-28-2013, 05:24 PM
It's this one: https://vborg.vbsupport.ru/showthread.php?t=229511

Thanks for your prompt reply!

That mod is not a full blown mod that uses the proper template hooks to display it's information. It's all manual edits.

Because of that, there is no way to integrate it with this mod.

I'd contact the author of that mod and see if they will update it to use the proper template hooks in the postbit area.

boss22
01-29-2013, 11:35 AM
Had same problem with country flags mod...shows only text but no flags images...also have problem because in my skin in postbit_legacy use div class postrow and with this mod enabled i lose that class - get mixed rows ..some fix for that? funky fresh and life space skins for vb 4.2.0 pl3!

regards

bosss

nhawk
01-29-2013, 05:57 PM
Had same problem with country flags mod...shows only text but no flags images...also have problem because in my skin in postbit_legacy use div class postrow and with this mod enabled i lose that class - get mixed rows ..some fix for that? funky fresh and life space skins for vb 4.2.0 pl3!

regards

bosss
The text being displayed with that country flag mod is because of the manual edits to templates to display the flags. Postbit collapser picks up the profile field as it's text value (as it should) and displays that. The country flag mod changes that text value to an image with it's manual template edits and there's no good way to manually edit the postbit collapser template to compensate for manual edits. If the flag mod used a template hook to display it's flags, there would be no problem since all of the same hooks for a standard vB postbit template exist in the postbit collapser templates.

I'm not sure why you would lose the postrow div for the postbody. It exists in this mod's templates exactly the way it does in the regular postbit_legacy template.

I would need to see your entire postbit_legacy template for the skin you're using to see what you're talking about.

boss22
01-29-2013, 07:25 PM
Hello
Thanks for reply ...you can see here http://www.oldlibar.com/vb4 and also i found one "bug" - when i enable your mod - in post body i get double "blog this post"

You can register and i will make you admin ..if you can help me ...and you can see in skins what i mean in post above ....

regards

bosss

nhawk
01-29-2013, 08:26 PM
Hello
Thanks for reply ...you can see here http://www.oldlibar.com/vb4 and also i found one "bug" - when i enable your mod - in post body i get double "blog this post"

You can register and i will make you admin ..if you can help me ...and you can see in skins what i mean in post above ....

regards

bosss
The double 'Blog this post' is from this mod.. [DBTech] Advanced Post Thanks Like v3.0.3 [Lite]. I've discussed it with the author of that mod and he isn't going to make the needed changes to prevent it. That is why that mod is still listed as not working with this mod.

I've registered on your site as NHawk.

nhawk
01-30-2013, 01:06 PM
Hello
Thanks for reply ...you can see here http://www.oldlibar.com/vb4 and also i found one "bug" - when i enable your mod - in post body i get double "blog this post"

You can register and i will make you admin ..if you can help me ...and you can see in skins what i mean in post above ....

regards

bosss

Bosss..

Download the update I posted today. You only need to upload the files, there's no need to import the XML again.

The update fixes the problem with CompletevB templates.

Once you've done that, let me know and I'll log in to your site again to fix the double 'Blog This Post' link that's caused by the DBTech mod.

Disco_Dave
01-30-2013, 01:32 PM
Great mod!! I'm have some trouble with the mentions from a dbtech mod....Mentions are showing on the wrong line, is this fixable?

nhawk
01-30-2013, 02:02 PM
Great mod!! I'm have some trouble with the mentions from a dbtech mod....Mentions are showing on the wrong line, is this fixable?

I would have to see what you're talking about.

If they are displaying but in a different position, that can't be changed unless DBTech decides to add the code to allow postbit collapser to move it around as described in the Programmers_ReadMe.txt file.

Disco_Dave
01-30-2013, 02:18 PM
I would have to see what you're talking about.

If they are displaying but in a different position, that can't be changed unless DBTech decides to add the code to allow postbit collapser to move it around as described in the Programmers_ReadMe.txt file.

Do you want me to pm you details?

nhawk
01-30-2013, 02:30 PM
Do you want me to pm you details?

Sure, I'll take a look at it.. send me a PM.

boss22
01-30-2013, 02:37 PM
I uploaded files - 1.0.5 ver and did not import product file!

regards and thanks

bosss

nhawk
01-30-2013, 03:44 PM
I uploaded files - 1.0.5 ver and did not import product file!

regards and thanks

bosss

OK, you're all set.

All templates are displaying properly now. And the double Blog This Post link is gone.

There is one mod that is causing this...
https://vborg.vbsupport.ru/attachment.php?attachmentid=143530&stc=1&d=1359564105

I can't fix that. It happens with or without my mod installed. You'll need to find what mod is inserting the blog entries and contact the author of that mod to correct it.

boss22
01-30-2013, 03:59 PM
I do not know if is it some mod or vb blog some setting ...will check ...

Thanks for your help!

regards

bosss

boss22
01-30-2013, 04:11 PM
i think that is this template bit from vb blog templates - blog_postbit_entries_link

boss22
01-30-2013, 04:33 PM
Fixed - now is ok!

Thanks for help!

bosss

Lightmaster-AH
02-13-2013, 09:39 AM
Hallo nhawk,

it works fine for me in the postbit_legacy, but in the postbit it didn't work? Is there a way to get it also in the postbit?

(sorry, my english is so bad) Thanks for help!

nhawk
02-13-2013, 10:38 AM
Hallo nhawk,

it works fine for me in the postbit_legacy, but in the postbit it didn't work? Is there a way to get it also in the postbit?

(sorry, my english is so bad) Thanks for help!

The only reason it wouldn't work in postbit is if something is forcing the use of the standard postbit template, or if something else is forcing the use of a different custom postbit template.

See this post for how it should look with postbit...
https://vborg.vbsupport.ru/showpost.php?p=2395629&postcount=30

nhawk
02-13-2013, 11:13 AM
I would have to see what you're talking about. Can you send a link to your site?

I have a feeling it's another mod forcing the use of the standard templates.

nhawk
02-13-2013, 11:15 AM
Now that's odd, my reply to your post comes up before your post. Hmm..

Anyway, I would have to see what you're talking about. Can you send a link to your site?

I have a feeling it's another mod forcing the use of the standard templates.

Lightmaster-AH
02-13-2013, 11:34 AM
I know it. Maybe it didn't work in the postbit, cause my members could select what kind of contributory view they want. In the postbit legacy all looks good, but when they select the postbit the collapser didn't work.

Any idea?

Lightmaster-AH
02-13-2013, 12:11 PM
send you a pm

thanks for help!

ringnews24
02-13-2013, 03:03 PM
I uploaded this and enabled it but I dont see the option showing up to hide/show the details

nhawk
02-13-2013, 03:35 PM
I uploaded this and enabled it but I dont see the option showing up to hide/show the details

Are you running any of these mods?

1.[DBTech] Advanced Post Thanks Like v3.0.3 [Lite] (Due to double Blog This Post link)
2.Info box on Postbit (may work with edits to that mod)
3.Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO : (Due to manual edits)

nhawk
02-13-2013, 03:44 PM
For everyone's benefit, the problem Lightmaster-AH was having was caused by DBTech's Post Thanks/Like mod. It doesn't take a regular postbit template being used into account, it only accounts for postbit_legacy.

ringnews24
02-13-2013, 04:55 PM
Are you running any of these mods?

1.[DBTech] Advanced Post Thanks Like v3.0.3 [Lite] (Due to double Blog This Post link)
2.Info box on Postbit (may work with edits to that mod)
3.Country Flags - Postbit & Postbit_Legacy. vB 4.0.x (Inc GO : (Due to manual edits)

No I don't have any of those

nhawk
02-13-2013, 05:05 PM
No I don't have any of those

I would have to see if another mod is interfering with postbit collapser in your admin area.

If you want me to take a look at it, send me a pm with temporary admin username and password to your site.

Or, you can turn off your other mods one at a time until you find which one is causing the problem.

ringnews24
02-13-2013, 08:16 PM
It is showing now, wasn't earlyier. (weird a few mods have done this recently)

It is not showing in the first post of a thread.

Could the keep first post at the top of every thread be interferring?

Any ideas how to add it to the first post?

Thanks

nhawk
02-13-2013, 08:20 PM
It is showing now, wasn't earlyier. (weird a few mods have done this recently)

It is not showing in the first post of a thread.

Could the keep first post at the top of every thread be interferring?

Any ideas how to add it to the first post?

Thanks

If is possible that a mod that keeps the first post at the top of the thread is causing the collapser not to display on that post. The way to find out is to disable the mod that keeps the first post at the top of the thread.

Lightmaster-AH
02-13-2013, 09:01 PM
I am so happy that you have solved my problem and I would also like at this point to say thank you for this!

GONUMBER6
02-13-2013, 09:54 PM
Hello again nhawk, I think I found another bug. When changing pages on CMS (we have lots of articles) it just reloads the same page instead of the next page. Disabled it works properly. :)

nhawk
02-13-2013, 10:15 PM
Hello again nhawk, I think I found another bug. When changing pages on CMS (we have lots of articles) it just reloads the same page instead of the next page. Disabled it works properly. :)

I honestly don't know how that's possible because the collapser excludes itself from the vbcms script. And I don't have access to a site with a lot of articles to see what's happening.

Not now because I'll be logging out for the night soon, but in the morning, would you be willing to give me temporary admin access to your site so I can see what's going on?

If so, also include some specific links that it happens with so I can get right to the problem.

GONUMBER6
02-18-2013, 10:26 PM
I honestly don't know how that's possible because the collapser excludes itself from the vbcms script. And I don't have access to a site with a lot of articles to see what's happening.

Not now because I'll be logging out for the night soon, but in the morning, would you be willing to give me temporary admin access to your site so I can see what's going on?

If so, also include some specific links that it happens with so I can get right to the problem.

My apologies, it was pure coincedence that it fixed for a short time while disabled, now I am not getting that same result.

My site is very glitchy since the last upgrade a couple weeks ago and it's been a real pain to try to sort it out.

marcellr
03-25-2013, 01:43 PM
thanks ! vbulletin 4.2 - ok :)

synseal
08-08-2013, 12:57 PM
I use this template edit to hide signatures to guests for seo reasons

<vb:if condition="$show['member']">
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
</vb:if>

This template edit doesn't hide the signature to guests when this modification is enabled even after adding this edit to these templates.


postbit_collapse_legacy:
postbit_collapse_postbit:
postbit_legacy:

Which template do I need to edit for this change to have an effect?

TIA.

nhawk
08-08-2013, 01:59 PM
I use this template edit to hide signatures to guests for seo reasons

<vb:if condition="$show['member']">
<vb:if condition="$post['signature']">
<blockquote class="signature restore"><div class="signaturecontainer">{vb:raw post.signature}</div></blockquote>
</vb:if>
</vb:if>

This template edit doesn't hide the signature to guests when this modification is enabled even after adding this edit to these templates.


postbit_collapse_legacy:
postbit_collapse_postbit:
postbit_legacy:

Which template do I need to edit for this change to have an effect?

TIA.

It works on my site.

There's no reason it shouldn't work on yours.

Try clearing your browser cache. And if your server has any caching enabled, clear that too.

fxdigi-cash
08-09-2013, 02:58 PM
does this mod work on horizontal postbit as well??

because I use horizontal only

nhawk
08-09-2013, 03:12 PM
does this mod work on horizontal postbit as well??

because I use horizontal only

Yes it does.

Kraxell
08-19-2013, 05:01 PM
Hey :) Thanks for this mod. Is it possible to add custom fields? (maybe vbexperience)

Regards

nhawk
08-19-2013, 06:47 PM
Hey :) Thanks for this mod. Is it possible to add custom fields? (maybe vbexperience)

Regards

I don't add other mods to this one, it is up to the authors of the other mods if they want to add their fields to the postbit collapser. The instructions to do this are in the Programmers_ReadMe.txt file.

Kraxell
08-19-2013, 09:25 PM
Ok thanks, then i rewrite the code :)

Good mod and nice support. Installed + MOTM!

GONUMBER6
08-19-2013, 10:24 PM
Hello again nhawk. I am a big fan of your mod! I recently decided to add the pinterest system modification to one of my forums. I have it installed on another one of my forums as well.

On both forums I am running the same exact modifications. But for some reason, if I have the postbit collapser on, it deletes both the pinterest button and facebook button. It will not show anything at all if I revert the template without the fb like button either.

Any ideas on how I can run your mod along with that one?

I currently have your mod turned off:
http://petscantalktoo.com/showthread.php/191-July-2013-Pet-of-the-Month-Contest-ENTER-HERE

nhawk
08-20-2013, 10:12 AM
Hello again nhawk. I am a big fan of your mod! I recently decided to add the pinterest system modification to one of my forums. I have it installed on another one of my forums as well.

On both forums I am running the same exact modifications. But for some reason, if I have the postbit collapser on, it deletes both the pinterest button and facebook button. It will not show anything at all if I revert the template without the fb like button either.

Any ideas on how I can run your mod along with that one?

I currently have your mod turned off:
http://petscantalktoo.com/showthread.php/191-July-2013-Pet-of-the-Month-Contest-ENTER-HERE

Postbit collapser uses it's own templates.

You need to do the manual edits BOP5 describes to the postbit_collapse_legacy, or postbit_collapse_postbit templates.

GONUMBER6
08-21-2013, 08:53 PM
Postbit collapser uses it's own templates.

You need to do the manual edits BOP5 describes to the postbit_collapse_legacy, or postbit_collapse_postbit templates.

Yes I did that. For some reason if I turn off your mod it works. I do remember when installing on my other site that I currently have it working on I did run into a major setback and somehow I solved it. Too bad I cannot remember.... but it was probably 6 months ago or longer.

M.C.
09-14-2013, 06:19 AM
hello! this mod removes vbseo LIKE and SHARE buttons from message body.

Any chance to add them there back?

UPD: Anyone who has same issue here is my fix:
1. In you AdminCP -> Plugins and Products -> Plugin Manager find Product Plugin: Postbit Collapser -> Change Postbit Template hit [Edit] link find all instances of postbit_collapse_legacy and replace it to postbit_legacy
2. Go to AdminCP -> Styles and Templates -> Style Manager and in your style chose Edit templates and replace ALL code in postbit_legacy template with code from postbit_collapse_legacy

May be developer can give better solution but for now this is quick fix.

And yes don't forget to backup your postbit_legacy template before applying this as this may be not work on your style...

Thanks

nhawk
09-14-2013, 08:54 AM
Unfortunately the collapser uses it's own template to prevent overwriting the default vB templates.

What you've done will work, but I wouldn't suggest it. Besides, vBSEO is dead. It's not even being sold anymore.