Go Back   vb.org Archive > vBulletin Modifications > Archive > Modification Graveyard

Reply
 
Thread Tools
[OzzModz] Add As Friend In Postbit Details »»
[OzzModz] Add As Friend In Postbit
Version: 1.0.2, by ozzy47 ozzy47 is offline
Developer Last Online: Dec 2021 Show Printable Version Email this Page

Category: Mini Mods - Version: 4.x.x Rating:
Released: 12-01-2013 Last Update: 09-04-2014 Installs: 97
Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Another mod brought to you by


[OzzModz] Add As Friend In Postbit, has won MOTM for January 2014 Mod of the Month!

This is just a small mod, that will allow you to show a Add As Friend button in the postbit.
This mod may increase participation on your site, as users become more familiar with the friends system. As their friend base grows, they may be more willing to return.

It is a simple installation, upload the contents of the upload folder and import the product XML, product-ozzmodz_addfriend_postbit

You can edit the options under the settings, [OzzModz] Add As Friend In Postbit Settings

Complete Feature List
  • Option to disable the mod completely.
  • Option to choose which usergroups can see the buttons.
  • Option to select one of seven different locations in the postbit to display the buttons.
    • Above Every Post Container = Above every post on the page.
    • User Info Left = Below the users title.
    • User Info Right After Posts = After the post count in the postbit.
    • User Info Right = Above the instant messenger icons.
    • Message Area Start = In the post container above the posts.
    • Signature Start = Above the signature.
    • Signature End = Below the signature.
    • Postbit Controls Area = Before the IP icon and the Report post icons.
  • Option to set the path and image name to the image you want to use for the add friend button.
  • Option to set the path and image name to the image you want to use for the is friend button.
First screenshot is how it looks in the postbit control area, second is how it looks in the postbit, third is of the settings.

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

If you like this mod please hit the button to the right ---->

Please remember to click the, 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.org 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!
-------------------------------------------------------------------------------------------

v1.0.0 Initial Release

v1.0.1 Fixed some issues.
  • Fixed the issue wit the images not showing in some spots.
  • Fixed a issue if you choose, Above Every Post Container = Above every post on the page, that the images would all display at the top of the page.
v1.0.2 Fixed some issues.
  • Hopefully solved the issue with this not working for everyone.
  • Fixed a issue with the cache template plugin checking if the wrong mod was active.

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
6 благодарности(ей) от:
Alecsmith, fxdigi-cash, heyzeus909, Mickie D, RichieBoy67, XGC Paravain

Comments
  #82  
Old 04-26-2014, 09:34 PM
edunite edunite is offline
 
Join Date: Sep 2013
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the initial offer but as 2 weeks have now passed i think it is time to call it a day and move on. It is potentially a great mod by giving the forum a social dimension but it doesn't work for some. I'm going to move with dragon bytes Advanced User Tagging but if someone else can give ozzy admin rights to their forum - please go ahead to try and solve this mystery as i'll be uninstalling it later
Reply With Quote
  #83  
Old 04-27-2014, 05:42 AM
fxdigi-cash fxdigi-cash is offline
 
Join Date: Jul 2012
Posts: 674
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi everyone,

sorry I wasn't able to explain how I fixed the issue with this mod... here is the details:

what I did is changing case 8 in the code to a custom template hook that you need to add manually...

so I've changed this :


Code:
case 8: $template_hook['postbit_controls'] .= $addfriend_postbit->render(); break;

to this:

HTML Code:
case 8: $template_hook['postbit_addfriend'] .= $addfriend_postbit->render(); break;
I did that twice in the same plugin and then add template hook manually in both postbit and postbit_legacy... find this code:

Code:
<span class="postcontrols">
Add below it this code:

Code:
{vb:raw template_hook.postbit_addfriend}
and here is the modified plugin if you don't know how to do it...

however, you still need to add the custom template hook as I mentioned before, otherwise, it won't work...

any question, please ask...

Good luck!!
Reply With Quote
Благодарность от:
arrarrgee
  #84  
Old 07-22-2014, 10:40 AM
obglobal.net obglobal.net is offline
 
Join Date: Jan 2013
Posts: 203
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You rock, Ozzy. Awesomeness abounds!

Added to Postbit Controls Area (Legacy & Horizontal), and it's just a really nice, simple but effective idea.

Deserves MOTM.
Reply With Quote
Благодарность от:
ozzy47
  #85  
Old 07-22-2014, 01:23 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by obglobal.net View Post
You rock, Ozzy. Awesomeness abounds!

Added to Postbit Controls Area (Legacy & Horizontal), and it's just a really nice, simple but effective idea.

Deserves MOTM.
Thanks glad you like it, and thanks for marking as installed. It already had won MOTM.
Reply With Quote
  #86  
Old 08-15-2014, 02:01 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ozzy to fix every body problem, you need to globalize $vbulletin

global $vbulletin;
if (!is_member_of($vbulletin->userinfo, explode(',', $this->registry->options['ozzmodz_addfriend_postbit_groups'])))
{

nice little mod
Reply With Quote
Благодарность от:
ozzy47
  #87  
Old 08-15-2014, 02:05 AM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hmmm, I thought I did, I'll check it out after I get some thing straightened out in some other mods.
Reply With Quote
  #88  
Old 08-15-2014, 02:10 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Also you need to fix the cache template plugin. You are calling another mod as active
Reply With Quote
  #89  
Old 09-05-2014, 08:59 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

v1.0.2 Fixed some issues. Thanks to Lionel for reporting them.
  • Hopefully solved the issue with this not working for everyone.
  • Fixed a issue with the cache template plugin checking if the wrong mod was active.
Reply With Quote
  #90  
Old 09-13-2014, 04:20 PM
CharlieDelta CharlieDelta is offline
 
Join Date: Apr 2010
Posts: 616
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Everyone shows as not friends in postbit within Private Messages.
Reply With Quote
  #91  
Old 09-13-2014, 04:29 PM
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Jul 2009
Location: USA
Posts: 10,929
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did this start happening in the latest version?
Reply With Quote
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 09:27 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05385 seconds
  • Memory Usage 2,323KB
  • Queries Executed 27 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (3)bbcode_code
  • (1)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (3)pagenav_pagelink
  • (11)post_thanks_box
  • (9)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (4)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (11)postbit_onlinestatus
  • (11)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete