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 Home Enhancements - Mabersoft vBulletin - Map (https://vborg.vbsupport.ru/showthread.php?t=235232)

mabersoft 02-06-2010 10:00 PM

Mabersoft vBulletin - Map
 
1 Attachment(s)
Demo: Click Here

First go to "http://whos.amung.us/maps/customize/" Then get you map code.

In The Template "FORUMHOME" find:

Code:

{vb:raw template_hook.forumhome_wgo_pos5}
Then Below Add:

Code:

            <!-- Mabersoft vBulletin - Map -->
                        <div id="wgo_mabersoftvbulletinmap" class="wgo_subblock">
                                <h3><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="Mabersoft vBulletin - Map" />{vb:raw vboptions.bbtitle} - Map</h3>
                                <div>
                                        <p><!-- Map Code Here -->
                        <script type="text/javascript" src="http://widgets.amung.us/map.js"></script>
                        <script type="text/javascript">WAU_map('1r3hyyn9r72i', 420, 210, 'neosat', 'star-blue')</script>
                      <!-- /Map Code Here --></p> 
                                </div>
                        </div>
                        <!-- /Mabersoft vBulletin - Map -->

Please Keep The:

Code:

<!-- Mabersoft vBulletin Map -->
<!-- /Mabersoft vBulletin Map -->

PS: To change the map with your map code change the code inside

Code:

<!-- Map Code Here --> 
<!-- /Map Code Here -->

With the map code you got from:
"http://whos.amung.us/maps/customize/"

mabersoft 02-07-2010 01:32 PM

1.0 - Released

betts02 02-07-2010 02:21 PM

Cheers and nice 1

Also does this only show registed users or does it show all visitors also ?

mabersoft 02-07-2010 02:40 PM

All visitors

betts02 02-07-2010 03:13 PM

Cheers for the reply, working great

Is there any chance of getting other maps for this mod to work ?

I could do with say G/B only as this is where i say 99% of my members are from, or even a chance to click the map to show more details ?

Would be great if possible

mabersoft 02-07-2010 03:16 PM

Quote:

Originally Posted by betts02 (Post 1976712)
Cheers for the reply, working great

Is there any chance of getting other maps for this mod to work ?

I could do with say G/B only as this is where i say 99% of my members are from, or even a chance to click the map to show more details ?

Would be great if possible

May i ask what is G/B? (Great Brittion?)

kall 02-07-2010 03:19 PM

Quote:

Originally Posted by betts02 (Post 1976664)
Cheers and nice 1

Also does this only show registed users or does it show all visitors also ?

Looks like it only shows visitors to the Forum Home page.

You're not going to get anything for those visitors/Search Engines that visit threads only.

mabersoft 02-07-2010 03:25 PM

Quote:

Originally Posted by kall (Post 1976716)
Looks like it only shows visitors to the Forum Home page.

You're not going to get anything for those visitors/Search Engines that visit threads only.

Yer it only show the people on that page. Its a good little add on to see where you visitors come from (well from where the ip says)

betts02 02-07-2010 10:57 PM

do notknow if you have any intensions or if you know how to do this but...

i seen this map thing a while back on another site using the xbox live stats where it showed who was online from that forum and where they were from, onloy registed members also

you know how this is done ?

mabersoft 02-08-2010 03:09 PM

Quote:

Originally Posted by Dr.osamA (Post 1977229)
installed

thanxx

Welcome

Quote:

Originally Posted by betts02 (Post 1977013)
do notknow if you have any intensions or if you know how to do this but...

i seen this map thing a while back on another site using the xbox live stats where it showed who was online from that forum and where they were from, onloy registed members also

you know how this is done ?

I don't think so with this as this is hosted by a other server witch do not provide that. I think you will need to get some one to code what you are asking for (:S).

Sorry.

whitetigergrowl 02-10-2010 01:40 AM

How do we get it to look in our statistics area like you have it?

mabersoft 02-10-2010 01:45 PM

Quote:

Originally Posted by whitetigergrowl (Post 1978794)
How do we get it to look in our statistics area like you have it?

in the forum home template replace the code inside

Code:

<!-- what's going on box -->
<!-- end what's going on box -->

with

Code:

        <div id="wgo" class="collapse wgo_block">
                <h2>
                <span>{vb:rawphrase whats_going_on}</span>
                </h2>
                <div class="floatcontainer">
<table width="100%">
  <tr >
    <td >                        {vb:raw template_hook.forumhome_wgo_pos1}
                        <vb:if condition="$show['loggedinusers']">
                        <!-- logged-in users -->
                        <div id="wgo_onlineusers" class="wgo_subblock">
                                <h3><img src="{vb:stylevar imgdir_misc}/users_online.png" alt="{vb:rawphrase currently_active_users}" />{vb:rawphrase currently_active_users}</h3>
                                <div>
                                        <p>{vb:rawphrase there_are_x_online, {vb:raw totalonline}} <span class="shade">{vb:rawphrase x_members_and_y_guests, {vb:raw numberregistered}, {vb:raw numberguest}}</span></p>
                                        <p>{vb:rawphrase most_users_ever_online_was_x_y_at_z, {vb:raw recordusers}, {vb:raw recorddate}, {vb:raw recordtime}}</p>
                                        <ol class="commalist" id="wgo_onlineusers_list">
                                                {vb:raw activeusers}
                                        </ol><strong></strong>
                                </div>
                        </div>
                        <!-- end logged-in users -->
                        </vb:if>
{vb:raw template_hook.forumhome_wgo_pos4}
                        <div id="wgo_stats" class="wgo_subblock">
                                <h3><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}" />{vb:rawphrase x_statistics, {vb:raw vboptions.bbtitle}}</h3>
                                <div>
                                        <dl>
                                                <dt>{vb:rawphrase threads}</dt>
                                                        <dd>{vb:raw totalthreads}</dd>
                                                <dt>{vb:rawphrase posts}</dt>
                                                        <dd>{vb:raw totalposts}</dd>
                                                <dt>{vb:rawphrase members}</dt>
                                                        <dd>{vb:raw numbermembers}</dd>
                                                <vb:if condition="$show['activemembers']">
                                                <dt>{vb:rawphrase active_members}</dt>
                                                        <dd>{vb:raw activemembers}</dd>
                                                </vb:if>
                                        </dl>
                                        <p>{vb:rawphrase welcome_to_our_newest_member_x, {vb:link member, {vb:raw newuserinfo}}, {vb:raw newuserinfo.username}}</p>
                                        {vb:raw template_hook.forumhome_wgo_stats}
                                </div>
                        </div>
                                    <div id="wgo_legend" class="wgo_subblock">
                                <h3><img src="{vb:stylevar imgdir_misc}/legend.png" alt="{vb:rawphrase icon_legend}" />{vb:rawphrase icon_legend}</h3>
                                <div>
                                        <dl id="icon_legends" class="icon_legends">
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_new-16.png" alt="{vb:rawphrase new_posts_forum}" /></dt><dd>{vb:rawphrase new_posts_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_old-16.png" alt="{vb:rawphrase no_new_posts_forum}" /></dt><dd>{vb:rawphrase no_new_posts_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/category-16.png" alt="{vb:rawphrase category_forum}" /></dt><dd>{vb:rawphrase category_forum}</dd>
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/forum_link-16.png" alt="{vb:rawphrase link_forum}" /></dt><dd>{vb:rawphrase link_forum}</dd>
                                        <vb:if condition="$vboptions['pt_hasprojectforums']">
                                                <dt><img src="{vb:stylevar imgdir_statusicon}/project_new-16.png" alt="{vb:rawphrase project_forum}" /></dt><dd>{vb:rawphrase project_forum}</dd>
                                        </vb:if>
                                        </dl>
                                </div>
                        </div>
           
            </td>
<td>                        {vb:raw template_hook.forumhome_wgo_pos5}
            <!-- Mabersoft vBulletin - Map -->
<div id="wgo_mabersoftvbulletinmap" class="wgo_subblock">
                                <h3><img src="{vb:stylevar imgdir_misc}/forum_stats.png" alt="Mabersoft vBulletin - Map" />{vb:raw vboptions.bbtitle} - Map</h3>
                                <div>
                                        <p><!-- Map Code Here -->
                        <script type="text/javascript" src="http://widgets.amung.us/map.js"></script>
                        <script type="text/javascript">WAU_map('1r3hyyn9r72i', 420, 210, 'neosat', 'star-blue')</script>
                      <!-- /Map Code Here --></p> 
                                </div>
                        </div>
<!-- /Mabersoft vBulletin - Map -->
</td>
  </tr>
</table>

                </div>
        </div>

Change the red code with your map edits.


All times are GMT. The time now is 06:22 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.01200 seconds
  • Memory Usage 1,785KB
  • 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
  • (6)bbcode_code_printable
  • (6)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete