Advertisement:

Author Topic: Vision  (Read 2245 times)

Offline Snrj

  • Jr. Member
  • **
  • Posts: 304
  • Gender: Male
    • Snrj Forumları
Vision
« on: December 18, 2017, 08:10:44 AM »
Link to the theme


smf 2.1 beta 3 Theme
Boardindex and Messageindex user avatar 
Boardindex 3  divbox (Current theme edit)
Global 2 divbox (Current theme edit)
örnek resimler
Home

Messageindex

Topic

current theme


Offline Rock Lee

  • SMF Hero
  • ******
  • Posts: 1,575
  • Gender: Male
  • Digitalizando un nuevo mundo :D
    • BomberCode.Oficial on Facebook
    • RockLee-BC on GitHub
    • @Bomber_Code on Twitter
    • Bomber Code ~ La nueva era del conocimiento
Re: Vision
« Reply #1 on: February 12, 2018, 09:47:50 PM »
The topic of the profiles when publishing does not finish me closing but I guess it will be getting used to ...


Regards!
¡Regresando como cual Fenix! ~ Bomber Code © 2018
Ayudas - Aportes - Tutoriales - Y mucho mas!!!

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #2 on: February 14, 2018, 09:59:16 AM »
Nice lookin theme. Good job.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #3 on: February 14, 2018, 11:51:28 AM »
I can't edit my last post so I will post again. I got this to install on beta4 and so far no errors that I can see. Looks good.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #4 on: February 18, 2018, 10:34:23 AM »
Is there any fix for this. Please see the screen shot. I think the spiders part of who's online is a bit messed up.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #5 on: February 19, 2018, 12:55:42 PM »
Don't worry about this I fixed it myself.

Offline Snrj

  • Jr. Member
  • **
  • Posts: 304
  • Gender: Male
    • Snrj Forumları
Re: Vision
« Reply #6 on: February 20, 2018, 03:12:04 PM »
late reply
sorry
BoardIndex.template.php find
Code: [Select]
if (!empty($context['num_spiders']))
$bracketList[] = comma_format($context['num_spiders']) . ' ' . ($context['num_spiders'] == 1 ? $txt['spider'] : $txt['spiders']);
if (!empty($context['num_users_hidden']))
$bracketList[] = comma_format($context['num_users_hidden']) . ' ' . ($context['num_spiders'] == 1 ? $txt['hidden'] : $txt['hidden_s']);
replace
Code: [Select]
if (!empty($context['num_spiders']))
$bracketList[] =($context['num_spiders'] == 1 ? $txt['spider'] : $txt['spiders']). '<span class="floatright"> ' . comma_format($context['num_spiders']). '</span> ' ;
if (!empty($context['num_users_hidden']))
$bracketList[] = ($context['num_spiders'] == 1 ? $txt['hidden'] : $txt['hidden_s']) . '<span class="floatright">  ' . comma_format($context['num_users_hidden']). '</span> ' ;

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #7 on: February 20, 2018, 06:20:43 PM »
Thanks. I did get that fixed and the footer was not aligned. The time taken to create page was off a bit. Plus with a bit of help I was able to solve my avatar problem. The theme did not like me using 100x100 for avatars. Thanks for your reply. :)

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #8 on: March 27, 2018, 07:31:46 PM »
Hello I have been trying to move the divbox up above the navigate_section. What file would I look in or better yet what file and what code in that file, lol. :)

Offline Snrj

  • Jr. Member
  • **
  • Posts: 304
  • Gender: Male
    • Snrj Forumları
Re: Vision
« Reply #9 on: March 28, 2018, 08:01:59 AM »
BoardIndex.template.php 
Code: [Select]
vision_divbox();
Code: [Select]
function vision_divbox()
{
global $settings;
if (!empty($settings['vision_divbox']))
{
echo'
<div class="divbox">';
if(!empty($settings['vision_divbox1']))
echo'<div class="divboxkutu divbox-'.$settings['vision_divbox1_color'].'">
',!empty($settings['vision_title1'])?'<h2 class="divboxtitlebg">'.$settings['vision_title1'].'</h2>':'','
'.$settings['vision_divbox1'].'
</div>';

if(!empty($settings['vision_divbox2']))
echo'<div class="divboxkutu divbox-'.$settings['vision_divbox2_color'].'">
',!empty($settings['vision_title2'])?'<h2 class="divboxtitlebg">'.$settings['vision_title2'].'</h2>':'','
'.$settings['vision_divbox2'].'
</div>';

if(!empty($settings['vision_divbox3']))
echo'<div class="divboxkutu divbox-'.$settings['vision_divbox3_color'].'">
',!empty($settings['vision_title3'])?'<h2 class="divboxtitlebg">'.$settings['vision_title3'].'</h2>':'','
'.$settings['vision_divbox3'].'
</div>';
echo'
</div>';
}
}

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #10 on: March 28, 2018, 08:04:04 AM »
I thought it was in the boardindex.template file. It's been awhile since I edited code so I am having a few issues. I hope I can get it moved. If not I will be back to ask how, lol. I'll give it a shot, thank you. :)

Offline Snrj

  • Jr. Member
  • **
  • Posts: 304
  • Gender: Male
    • Snrj Forumları
Re: Vision
« Reply #11 on: March 28, 2018, 08:09:58 AM »
find and delete boardindex.template top codes
and

index.template.php
find
Code: [Select]
global_vision_divbox();replace
Code: [Select]
global_vision_divbox();
vision_divbox();
find
Code: [Select]
function global_vision_divbox()
{
global $settings;
echo'
',!empty($settings['global_vision_divbox1'])?'<div class="gdivbox divbox-'.$settings['global_vision_divbox1_color'].'"> '.$settings['global_vision_divbox1'].'</div><br>':'','
',!empty($settings['global_vision_divbox2'])?'<div class="gdivbox divbox-'.$settings['global_vision_divbox2_color'].'"> '.$settings['global_vision_divbox2'].'</div>':'','
';
}
replace
Code: [Select]
function global_vision_divbox()
{
global $settings;
echo'
',!empty($settings['global_vision_divbox1'])?'<div class="gdivbox divbox-'.$settings['global_vision_divbox1_color'].'"> '.$settings['global_vision_divbox1'].'</div><br>':'','
',!empty($settings['global_vision_divbox2'])?'<div class="gdivbox divbox-'.$settings['global_vision_divbox2_color'].'"> '.$settings['global_vision_divbox2'].'</div>':'','
';
}
function vision_divbox()
{
global $settings;
if (!empty($settings['vision_divbox']))
{
echo'
<div class="divbox">';
if(!empty($settings['vision_divbox1']))
echo'<div class="divboxkutu divbox-'.$settings['vision_divbox1_color'].'">
',!empty($settings['vision_title1'])?'<h2 class="divboxtitlebg">'.$settings['vision_title1'].'</h2>':'','
'.$settings['vision_divbox1'].'
</div>';

if(!empty($settings['vision_divbox2']))
echo'<div class="divboxkutu divbox-'.$settings['vision_divbox2_color'].'">
',!empty($settings['vision_title2'])?'<h2 class="divboxtitlebg">'.$settings['vision_title2'].'</h2>':'','
'.$settings['vision_divbox2'].'
</div>';

if(!empty($settings['vision_divbox3']))
echo'<div class="divboxkutu divbox-'.$settings['vision_divbox3_color'].'">
',!empty($settings['vision_title3'])?'<h2 class="divboxtitlebg">'.$settings['vision_title3'].'</h2>':'','
'.$settings['vision_divbox3'].'
</div>';
echo'
</div>';
}
}

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #12 on: March 28, 2018, 08:20:26 AM »
That was almost it...unless I did something wrong.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #13 on: March 28, 2018, 08:24:47 AM »
Got it. I put this:

Code: [Select]
                    global_vision_divbox();
                vision_divbox();

Just above this:

Code: [Select]
    // The main content should go here.
Thank you so much sir. It works great and looks awesome.

Offline joehark

  • Semi-Newbie
  • *
  • Posts: 34
Re: Vision
« Reply #14 on: April 16, 2018, 08:50:58 PM »
I installed it on 2.0.15 and that got me a blank white screen. I was able to revert back to the Core theme.

Is there any support available from the Theme author?

Thank you

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #15 on: April 16, 2018, 09:13:58 PM »
This is a SMF 2.1 beta theme. I doubt it is going to work very well on 2.0.x

Offline joehark

  • Semi-Newbie
  • *
  • Posts: 34
Re: Vision
« Reply #16 on: April 16, 2018, 09:18:41 PM »
my bad - thanks for the clarification. I tried it because it was the only clean looking theme I could find. I've gone through those on the SMF list but did not see any as clean as Vision. if you know of one that works w 20.0.15, please share.

Anyway, thanks.

Offline Bigguy

  • SMF Friend
  • SMF Super Hero
  • *
  • Posts: 12,534
  • Gender: Male
  • Be nice, or else....
    • smfbigguy on GitHub
    • Whats Ur Beef
Re: Vision
« Reply #17 on: April 16, 2018, 09:49:12 PM »
Do a google search for SMF themes. Your bound to come up with a few sites that offer what you want if you can't find it here. :)