vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=246)
-   -   Forum Display Enhancements - Shows country flag next to IP in, who is online (https://vborg.vbsupport.ru/showthread.php?t=276787)

New Joe 01-14-2012 12:13 PM

Quote:

Originally Posted by Dr.osamA (Post 2287590)
same same both codes

try it here plzz
http://www.alra7ba.info/vb/online.ph...ge=1&styleid=1

user : vBulletin
pass: 123456

Took a look, as it's an Arabic Forum everything is the other way around so to speak.

The code here you add says right:
Quote:

<div style="float: right;"><img class="inlineimg" src="http://api.hostip.info/flag.php?ip={vb:raw userinfo.host}" border="0" width="25" height="18" /></a></div>
So give it a go by changing it to say left.

Quote:

<div style="float: left;"><img class="inlineimg" src="http://api.hostip.info/flag.php?ip={vb:raw userinfo.host}" border="0" width="25" height="18" /></a></div>
Please let me know if that works.

New Joe 01-14-2012 01:40 PM

This is now a Modification xml Import Mod;
https://vborg.vbsupport.ru/showthread.php?t=276950

This Template edit still works but if you do install it as an xml file, you will need to revert the Template you edited from this one first.

Dr.osamA 01-14-2012 08:11 PM

Quote:

Originally Posted by New Joe (Post 2287624)
Took a look, as it's an Arabic Forum everything is the other way around so to speak.

The code here you add says right:


So give it a go by changing it to say left.



Please let me know if that works.

nothing showing i changed it as you sied but not show
and i tested the XML file from the:
https://vborg.vbsupport.ru/showthread.php?t=276950
and i changed it from right to left too and same result unfrontly

any help plzz

bperkins88 01-14-2012 09:03 PM

where do you download this file at ? Do i download the 4.x.x file ?? Or are you working on putting one here

New Joe 01-15-2012 04:47 AM

Quote:

Originally Posted by bperkins88 (Post 2287854)
where do you download this file at ? Do i download the 4.x.x file ?? Or are you working on putting one here

Try here:
https://vborg.vbsupport.ru/showthrea...18#post2288018

New Joe 01-15-2012 04:50 AM

Quote:

Originally Posted by Dr.osamA (Post 2287827)
nothing showing i changed it as you sied but not show
and i tested the XML file from the:
https://vborg.vbsupport.ru/showthread.php?t=276950
and i changed it from right to left too and same result unfrontly

any help plzz

I'll see what I can do, it's strange as it should work really, as it is only that Arabic Forums are just left to right really, the codes should just be the same,
It would be nice to see your Template code for whosonline

Dr.osamA 01-15-2012 09:04 AM

Quote:

Originally Posted by New Joe (Post 2288021)
I'll see what I can do, it's strange as it should work really, as it is only that Arabic Forums are just left to right really, the codes should just be the same,
It would be nice to see your Template code for whosonline

here is temp;ate whosonline

PHP Code:

<tr>
  <
td class="whoinfo" width="32%"><vb:if condition="$show['loggedinuser']">
      <
a href="{vb:link member, {vb:raw userinfo}}">{vb:raw userinfo.musername}</a>{vb:raw userinfo.hidden}<vb:if condition="$show['buddy']">+</vb:if>
      <
vb:else />
      <
vb:if condition="$show['spider']">{vb:raw spidertype}<vb:else />{vb:raw userinfo.musername}</vb:if>
  </
vb:if></td>
<
td class="whoinfo" width="8%" align="{vb:stylevar right}"><span class="smallfont time">{vb:raw userinfo.time}</span></td>
  <
td class="whoinfo wholocation" width="35%"><span style="float:{vb:stylevar right}">
      <
vb:if condition="$show['lockedout']"><img src="{vb:stylevar imgdir_statusicon}/wol_lockedout.png" alt="{vb:rawphrase viewing_forum_closed}" /></vb:if>
      <
vb:if condition="$show['nopermission']"><img src="{vb:stylevar imgdir_statusicon}/wol_nopermission.png" alt="{vb:rawphrase viewing_no_permission_message}" /></vb:if>
      <
vb:if condition="$show['errormessage']"><img src="{vb:stylevar imgdir_statusicon}/wol_error.png" alt="{vb:rawphrase viewing_error_message}" /></vb:if>
      <
vb:if condition="$show['reallocation']"><img src="{vb:stylevar imgdir_misc}/question_icon.gif" alt="{vb:raw userinfo.location}" /></vb:if>
    </
span> {vb:raw userinfo.action}
    <
vb:if condition="$show['where']">
      <
div class="smallfont" style="margin-top:1px">
        <
vb:if condition="$show['subscribed']"><img class="inlineimg" src="{vb:stylevar imgdir_misc}/subscribed.png" alt="{vb:rawphrase you_are_subscribed_to_this_thread}" /></vb:if>
        {
vb:raw userinfo.where}
      </
div>
    </
vb:if>
  </
td>
  <
vb:if condition="$show['ip']"><td class="whoinfo"><vb:if condition="$show['ajax_resolve']">
        <
a href="online.php?{vb:raw session.sessionurl}do=resolveip&amp;ipaddress={vb:raw userinfo.host_encoded}" id="resolveip_{vb:raw count}" title="{vb:rawphrase resolve_ip_address}">{vb:raw userinfo.host}</a>
        <
vb:else />
        {
vb:raw userinfo.host}
      </
vb:if>
  <
vb:if condition="$show['useragent']"><br />{vb:raw userinfo.useragent}</vb:if></td></vb:if>
  <
vb:if condition="$vboptions[showimicons]"><td class="whoinfo">
      {
vb:raw userinfo.aimicon}
      {
vb:raw userinfo.icqicon}
      {
vb:raw userinfo.msnicon}
      {
vb:raw userinfo.yahooicon}
      {
vb:raw userinfo.skypeicon}
  </
td></vb:if>
</
tr

it is defoult code

New Joe 01-19-2012 06:46 AM

<removed>

TheSupportForum 01-19-2012 10:15 AM

Quote:

Originally Posted by New Joe (Post 2289751)
...

spamming posts to promote paid versions isnt aloud stop it

the rule is that you promote your own mod/template eidt for paid etc within the description of own mod
what you are basically saying is that the above mod/template edit doesnt belong to you and boofo designed it all
i am sure that you could liase with boofo after someone is interested and put yourself down as point of contact

Steve-Hoog 03-16-2012 04:33 PM

I couldn't get this to work on my 4.1.4 as well as another flag hack; so there must be something funny going on with my code.


All times are GMT. The time now is 06:34 AM.

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.01144 seconds
  • Memory Usage 1,778KB
  • 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)bbcode_php_printable
  • (8)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)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