vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Graveyard (https://vborg.vbsupport.ru/forumdisplay.php?f=224)
-   -   Mini Mods - [OzzModz] Add As Friend In Postbit (https://vborg.vbsupport.ru/showthread.php?t=305246)

ozzy47 12-01-2013 11:00 PM

[OzzModz] Add As Friend In Postbit
 
Another mod brought to you by
https://vborg.vbsupport.ru/external/2015/01/1.png

[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 https://vborg.vbsupport.ru/external/2015/08/1.png button to the right ---->

Please remember to click the, https://vborg.vbsupport.ru/external/2015/08/2.png 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.

tbworld 12-02-2013 03:56 AM

Nice idea! @Ozzy47 :)

ozzy47 12-02-2013 03:58 AM

Thanks, I think some will find it useful. :)

faisaly.com 12-02-2013 07:12 AM

https://vborg.vbsupport.ru/attachmen...2&d=1385947839

added already not showing on postbit horizontal using option - Postbit Controls Area (Legacy & Horizontal)

this option worked ok - User Info Right After Posts (Legacy & Horizontal)

Marcin1 12-02-2013 08:04 AM

Image is_friend.png is not displayed even if user was added to contact list (still icon add friend). Add_friend.png is working correctly in every option in postbit.

eazygreek 12-02-2013 09:33 AM

to displayed the images,you must edit the images options like that

https://vborg.vbsupport.ru/external/2013/12/46.png

Marcin1 12-02-2013 10:47 AM

It's done accordingly to screenshot. I switched location To Add As Friend Image. I pasted is_friend.png and icon's working... When is setup originally is friend not displaying...

ozzy47 12-02-2013 10:50 AM

I'll look on my dev site when I get home from work and see if I can see what is going on. If I can not replicate the issues, I will need access to someones site that is having tie problems. :)

faisaly.com 12-02-2013 11:01 AM

the icons change fine and the default location works properly, just some of the displays dont work correctly... but it does work!

it is just version1 I am sure he will fix the issues, hes a great coder!

also remember custom themes could cause these problems where images dont display properly, i am sure it was tested on the default style and worked perfect using that style.

ozzy47 12-02-2013 11:06 AM

Yeah it does, and was coded on the default style. I also checked it on a few custom styles.

faisaly.com, if you want, can you send me a admin account, that has a friend, and a link to a post, where I can see the icons, and the steps to do to reproduce the issue? If so I can look into it when I get home from work.


All times are GMT. The time now is 09:57 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.01252 seconds
  • Memory Usage 1,740KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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