MundoNet Theme

Started by Diego Andrés, January 08, 2013, 07:35:10 PM

Previous topic - Next topic

Diego Andrés

Link to the theme


Free & Premium Responsive Themes for SMF




MundoNet V2
Developed by Diego Andrés

Features
  • Logo URL
  • Custom Links


Demo Online
GitHub

SMF Tricks - Free & Premium Responsive Themes for SMF.

Colin

Looks good. This would fit well for some of the larger boards out there.
"If everybody is thinking alike, then somebody is not thinking." - Gen. George S. Patton Jr.

Colin

impreza

very very nicely done. Thank you
Portal ToTemat.pl - Filmy i Artykuły

Diego Andrés


SMF Tricks - Free & Premium Responsive Themes for SMF.

Shades.

How can I add more links to the top right of this theme? Currently only five are allowed but I need a couple more...thanks!
ShadesWeb.com - Custom Logos - My Themes on SMF | My Themes on ShadesWeb
https://shadesweb.com

BikerHound.com - Sniffing out the road ahead
https://bikerhound.com

Dream as if you'll live forever; Live as if you'll die today. - James Dean

Diego Andrés

Quote from: Shades. on January 20, 2013, 07:50:35 PM
How can I add more links to the top right of this theme? Currently only five are allowed but I need a couple more...thanks!

Search on the index.template.php of the theme
<li><a href="', empty($settings['link_top5_url']) ? '' : '' . $settings['link_top5_url'] . '', '">', empty($settings['link_top5']) ? $txt['link_top5'] : $settings['link_top5'], '</a></li>
</ul>


then you can replace that code with this
<li><a href="', empty($settings['link_top5_url']) ? '' : '' . $settings['link_top5_url'] . '', '">', empty($settings['link_top5']) ? $txt['link_top5'] : $settings['link_top5'], '</a></li>
<li><a href="">Link 6</a></li>
</ul>

SMF Tricks - Free & Premium Responsive Themes for SMF.

NHWD

I like the header with the username and notifications
and the board index display
you did a good job

DAVID. D.A

-Anyway to hide/remove the 5 header links till i might need them?
-Date and time, what controls this? because it's different from my pc's own. How can it be configured to show the date & time of the user's pc or location?

DAVID. D.A

A little error i'd like to make known; When visiting the site newly (after closing its tab) you appear logged out, even when you selected log in forever at your last session, but then if you visit another page of the site, it all fixed and your logged in

Adrek

#9
After I disabled statistics on index page there is small issue:


Replaced

/* the small stats */
#index_common_stats
{
display: block;
margin: 0 0 0.5em 0;
text-align: right;
font-size: 0.9em;
position: relative;
top: -20px;
line-height: 1px;
}


to

/* the small stats */
#index_common_stats
{
display: block;
margin: 0 1em 0.5em 0;
text-align: right;
font-size: 0.9em;
position: relative;
top: -45px;
}


and it seems to be good now :)

//edit1:
and also in index.template.php:
Code (Find) Select
$txt['remember']
Code (Replace with) Select
$txt['always_logged_in']
to fix error Undefined index: remember


//edit2:
one more, again index.template.php:
Code (Find) Select
timeformat(time(),'%d %B %y, %H:%M %p')
Code (Replace with) Select
$context['current_time']

So it will be in format defined in SMF settings..

//edit3:

This time Display.template.php :)

if ($message['member']['karma']['allow'])
Throws up an error  8: Undefined index: karma if karma is enabled and message is posted by guest.

replacing it with:
if (!$message['member']['is_guest'] && $message['member']['karma']['allow'])
fixed this issue.


and this part:
if ($message['member']['online']['is_online'])
is causing error 8: Undefined index: online

simply check if message was posted by guest solved problem
Code (Find) Select

// Show online and offline buttons?
if ($message['member']['online']['is_online']) {
echo '
', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" align="top" />' : $message['member']['online']['text'], $settings['use_image_buttons'] ? '<span style="text-transform: uppercase; font-size: 10px; text-shadow: 0 1px 0 #fff; color: #6DA26B;"> ' . $message['member']['online']['text'] . '</span>' : '', '';
}
else {
echo '
', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" align="top" />' : $message['member']['online']['text'], $settings['use_image_buttons'] ? '<span style="text-transform: uppercase; font-size: 10px; text-shadow: 0 1px 0 #fff; color: #AEAEAF;"> ' . $message['member']['online']['text'] . '</span>' : '', '';
}
                  
Code (Replace with) Select

// Show online and offline buttons?
if (!$message['member']['is_guest'])
{
if ($message['member']['online']['is_online'])
{
echo '
', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" align="top" />' : $message['member']['online']['text'], $settings['use_image_buttons'] ? '<span style="text-transform: uppercase; font-size: 10px; text-shadow: 0 1px 0 #fff; color: #6DA26B;"> ' . $message['member']['online']['text'] . '</span>' : '', '';
}
else
{
echo '
', $settings['use_image_buttons'] ? '<img src="' . $message['member']['online']['image_href'] . '" alt="' . $message['member']['online']['text'] . '" align="top" />' : $message['member']['online']['text'], $settings['use_image_buttons'] ? '<span style="text-transform: uppercase; font-size: 10px; text-shadow: 0 1px 0 #fff; color: #AEAEAF;"> ' . $message['member']['online']['text'] . '</span>' : '', '';
}
}

Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

DAVID. D.A

Quote from: phantomm on February 02, 2013, 07:02:46 AM
Replaced

/* the small stats */
#index_common_stats
{
display: block;
margin: 0 0 0.5em 0;
text-align: right;
font-size: 0.9em;
position: relative;
top: -20px;
line-height: 1px;
}


to

/* the small stats */
#index_common_stats
{
display: block;
margin: 0 1em 0.5em 0;
text-align: right;
font-size: 0.9em;
position: relative;
top: -45px;
}


and it seems to be good now :)


What file can i find this code please?

Adrek

index.css in ./Themes/MundoNetv2/css
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

DAVID. D.A

thanks.
Just added a profile pic and this is how it shows beside posts  :o .Some sorta error right?

Adrek

Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

DAVID. D.A

List of mods 

Quote1.   Forum Firewall    1.1.6     [ Uninstall ] [ List Files ] [ Delete ]
2.   Bad Behavior mod    1.5.15     [ Uninstall ] [ List Files ] [ Delete ]
3.   KeyCAPTCHA for SMF    2.4     [ Uninstall ] [ List Files ] [ Delete ]
4.   Add Facebook Like to Posts    1.1     [ Uninstall ] [ List Files ] [ Delete ]
5.   ShowBannedMessage    1.1     [ Uninstall ] [ List Files ] [ Delete ]
6.   Remove Index From Title    1.0     [ Uninstall ] [ List Files ] [ Delete ]
7.   PortaMx 1.51 ecl    1.51     [ Uninstall ] [ List Files ] [ Delete ]
8.   ENotify    2.0.2     [ Uninstall ] [ List Files ] [ Delete ]
9.   Live Emoticon Library    2.7.0     [ Uninstall ] [ List Files ] [ Delete ]
10.   Add GooglePlus to Posts    1.0     [ Uninstall ] [ List Files ] [ Delete ]
11.   Add Twitter Tweet Button to Posts    1.1     [ Uninstall ] [ List Files ] [ Delete ]
12.   Simple Audio Video Embedder    2.0.7a     [ Uninstall ] [ List Files ] [ Delete ]


Attached is my display.template i used to manually install install the error codes of fb like, tweet button and g+ ; maybe its them, can you please check it?

Adrek

Try this:
Code (Find) Select

// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
echo '
<div class="avatardisplay">
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
', $message['member']['avatar']['image'], '
</a>
</div>';

// Show banned message in topics & posts
if ($message['member']['is_banned'])
echo '<li><span style="color:red;">', $txt['banned'], '!</span> <img src="', $settings['theme_url'], '/images/pinkdead.gif" /></li>';

else {
echo '
<div class="avatardisplay">
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
<img src="', $settings['images_url'], '/theme/noavatar.png" alt="" />
</a>
</div>';
}

Code (Replace with) Select

// Show avatars, images, etc.?
if (!empty($settings['show_user_images']) && empty($options['show_no_avatars']) && !empty($message['member']['avatar']['image']))
{
echo '
<div class="avatardisplay">
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
', $message['member']['avatar']['image'], '
</a>
</div>';
}
else
{
echo '
<div class="avatardisplay">
<a href="', $scripturl, '?action=profile;u=', $message['member']['id'], '">
<img src="', $settings['images_url'], '/theme/noavatar.png" alt="" />
</a>
</div>';
}
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

DAVID. D.A

Fixed. Thank you so much  :)

In regards to the disable stats, and stats still displaying, i did all you posted and still it shows.

Adrek

well... This option in theme settings is for disabling stats in Info center and in stats in Info Center are disabled you can see small info next to linktree.
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

DAVID. D.A

Ohh!! Might as well re-enable it then, will re-enabling affect any of the changes made?

Adrek

No, but if you want to hide them just change display: block; to display: none; ;)
Polskie wsparcie SMF na simplemachines.org

the simplest solution is most likely the right one

Advertisement: