Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Solved: 12 Years, 2 Months, 3 Weeks ago Postbit confusion!
#1
Solved: 12 Years, 2 Months, 3 Weeks ago
See picture...

I'm wondering how come on the test account's postbit is showing the facebook/twitter images even though i've not put any info in there?

How can i get them to show only if someone actually puts the info in?


Attached Files Thumbnail(s)
   
#2
Solved: 12 Years, 2 Months, 3 Weeks ago
Is that a plugin? If so you need to ask the plugin author, otherwise you can fix it with template conditionals
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


#3
Solved: 12 Years, 2 Months, 3 Weeks ago
Nope it's not a plugin.
#4
Solved: 12 Years, 2 Months, 3 Weeks ago
You're probably using Custom Profile Fields?
#5
Solved: 12 Years, 2 Months, 3 Weeks ago
In that case you can consider using template conditional which you can get at mybb hacks

http://mybbhacks.zingaburga.com/showthread.php?tid=464

http://mybbhacks.zingaburga.com/showthread.php?tid=1343
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


#6
Solved: 12 Years, 2 Months, 3 Weeks ago
Hmmm i didn't have to do this the last time?

[undefined=undefined]<strong>{$lang->postbit_posts}</strong> {$post['postnum']}<br>
<strong>{$lang->postbit_joined}</strong> {$post['userregdate']}
<br><strong>Location: </strong>{$post['fid5']}
<br><strong>Level: </strong>{$post['fid6']}
<br><strong>Character: </strong>{$post['fid7']}

{$post['replink']}{$post['warninglevel']}<br>

<br><img src="images/pbicons/fb.png" alt="" /><b>:</b> <a href="http://www.facebook.com/{$post['fid8']}" target="_blank">{$post['fid8']}</a><br />
<img src="images/pbicons/twit.png" alt="" /><b>:</b> <a href="http://www.twitter.com/{$post['fid9']}" target="_blank">{$post['fid9']}</a><br />
<img src="images/pbicons/xbx.png" alt="" /><b>:</b> <a href="https://live.xbox.com/en-US/Profile?gamertag={$post['fid10']}" target="_blank">{$post['fid10']}</a><br />
<img src="images/pbicons/ps3.png" alt="" /><b>:</b> <a href="http://us.playstation.com/publictrophy/index.htm?onlinename={$post['fid11']}" target="_blank">{$post['fid11']}</a><br />
<img src="images/pbicons/stea.png" alt="" /><b>:</b> <a href="http://us.playstation.com/publictrophy/index.htm?onlinename={$post['fid12']}" target="_blank">{$post['fid12']}</a><br />

I think I'm missing this part of the code..

http://community.mybb.com/thread-111823.html
#7
Solved: 12 Years, 2 Months, 3 Weeks ago
Didn't have to do what??

You want to hide that Twitter thing?
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


#8
Solved: 12 Years, 2 Months, 3 Weeks ago
Yea, I'll just install the PHP in Templates / Complex Templates and then use the <if> code.

Should work.
#9
Solved: 12 Years, 2 Months, 3 Weeks ago
Yes it should Big Grin
Random Fish and Sims Maniac
MY PLUGINS
Help MyBBSupport help you - remember to mark your threads as solved


#10
Solved: 12 Years, 2 Months, 3 Weeks ago
And it has! Big Grin

Since i was a noob on Mybb about 3 years ago all i have to do is come on here and look through my previous threads and try to remember!

Theres 4 pages. :O


Forum Jump:


Users browsing this thread: 1 Guest(s)