Postbit Background
#1
Hello my friends. I'm searching for a plugin or option to get something like that - 
https://gyazo.com/3873bb5137019c9bb7b27b5ac9f92eab

So you are able to put a Background behind your Avatar. And it's visible if you post something in a thread or whatever. It does not need to be a whole different picture. It can be the same Picture as the Avatar.


I hope someone can help me. If it is a custom plugin, I would like to pay for it.


Sincerely

Koshitso
Reply
#2
Sure it's not just the postbit background (check the postbit css)? Either way, you wouldn't need a plugin unless you want groups/users to be able to choose their own background.
Plugin Count: I lost count.
Public Plugins are available here.
Official GitHub.
Please do not PM me for support unless asked to.
Reply
#3
I want that people are able to choose there own Background.
Reply
#4
sent an external link through PM. check if that helps.
please do not post anything about that content here.

instead you may PM me
- however not sure when I'll be able to devote time Sad
Reply
#5
Any updates about this? I also wish to know how to do this?
»1 New Cheapest Hosting For Beginners this 2019!
» Please rate my Group Images at Graphic Section
Reply
#6
You can create a custom profile field that asks for a valid URL and use that as the background value using CSS. You can do the same but with a plugin like:
https://community.mybb.com/mods.php?action=view&pid=127

But god, it would be nice to allow users to upload files as profile fields, wouldn't it ?
Reply
#7
(02-17-2018, 12:58 AM)Omar G. Wrote: You can create a custom profile field that asks for a valid URL and use that as the background value using CSS. You can do the same but with a plugin like:
https://community.mybb.com/mods.php?action=view&pid=127

But god, it would be nice to allow users to upload files as profile fields, wouldn't it ?

Any ideas how to make it display postbit instead of member profile ^^ that plugin?
Do NOT PM me for support unless I ask you on your support thread.
Reply
#8
That plugin adds a new field to the user table, which means it should be accessible from postbit, yes. But it is not prepared for that. The easiest way to add it safely and properly in postbit without modifying the code would be to use something like the template conditionals plugin from mybb hacks.

But {$post['profilepic']} should be _safe_ to use by itself without template conditionals if you are brave enough.

Using template conditionals you could use:
<?=htmlspecialchars_uni($post['profilepic'])?>
Reply
#9
(05-06-2018, 07:42 PM)Omar G. Wrote: That plugin adds a new field to the user table, which means it should be accessible from postbit, yes. But it is not prepared for that. The easiest way to add it safely and properly in postbit without modifying the code would be to use something like the template conditionals plugin from mybb hacks.

But {$post['profilepic']} should be _safe_ to use by itself without template conditionals if you are brave enough.

Using template conditionals you could use:
<?=htmlspecialchars_uni($post['profilepic'])?>

Say I did use {$post['profilepic']} for example.. how can I choose specific groups so they can add their own image link and how can I also add the option example User CP > Edit Profile.

Edit nevermind managed to make it work but one problem... this shows when someone doesn't have an image how can I remove this? :/
https://i.imgur.com/DmWBUQj.png

Edit #2 After playing around I've managed to make it work by adding this in postbit <if $post['profilepic'] then><img height="280" width="200" src="{$post['profilepic']}" class="post_avatarhuge"></if>

It now works perfectly fine.. Thank you omar. Smile
Do NOT PM me for support unless I ask you on your support thread.
Reply
#10
Don't me to comment on an old post but how did you call the image from the plugin.

I used $post['profilepic'] and this calls it but it adds a dateline= to the end of it causing it not to work.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)