News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Lazarus

Started by SychO, July 04, 2018, 11:19:56 AM

Previous topic - Next topic

SychO

Quote from: bayonetbrant on September 10, 2018, 09:48:14 AM
Right now, when I click on the banner at the top of the forum, it's linked to the home page of the forum.

Is there a way to either (1) redirect that link to the home page of the overall site, rather than just the forum, or (2) create 2 links so we could link both the forum home and the overall site home?

Well you can do both at the same time, if you change the logo's link to your overall homepage, you'll still have the menu button 'HOME' that takes to the forum

open index.template.php
look for if(empty($context['header_logo_url_html_safe'])) {
$site_slogan = empty($settings['site_slogan']) ? '' : $settings['site_slogan'];
echo'
<h1 class="forumtitle">
<a href="', $scripturl, '" class="">
', !empty($settings['header_fa']) ? '<div class="side_icon float"><i class="fas '.$settings['header_fa'].'"></i></div>' : '', '<div>', $context['forum_name'].'<br><span>'.$site_slogan.'</span>', '</div></a>
</h1>';
}
else
echo'
<h1 class="forumtitle imgHead">
<a href="', $scripturl, '" class="imgHeader">
<img src="' . $context['header_logo_url_html_safe'] . '" alt="' . $context['forum_name'] . '" />
</a>
</h1>';


You want to edit both ', $scripturl, ' to /

Quote from: bayonetbrant on September 10, 2018, 09:48:14 AM
Thanks.  LOVE this theme and our initial participants are drooling over it - especially the mobile-friendliness of it - compared to our old forum on our old site.

Glad you like it, enjoy
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

bayonetbrant

Quote from: SychO on September 10, 2018, 09:58:26 AMWell you can do both at the same time, if you change the logo's link to your overall homepage, you'll still have the menu button 'HOME' that takes to the forum

We were able to get these changes in place, along with a new header graphic.

I know it sounds borderline cheesy, but this theme is working out fantastically.

We put our own post/thread icons in place (still wish there was a good way to create different defaults for these) but otherwise have only customized the member group names/graphics and left pretty much everything else stock, since it's working so well for us.

I appreciate the responsiveness with which you've tackled questions, too.

You always wonder about using "free" themes, mods, etc, but this one has succeeded like crazy, so thanks again for all the work you put into it.

(if anyone's curious, we're using it at www.armchairdragoons.com/forum/ )

SychO

Quote from: bayonetbrant on September 25, 2018, 09:32:34 PM

We were able to get these changes in place, along with a new header graphic.

I know it sounds borderline cheesy, but this theme is working out fantastically.

We put our own post/thread icons in place (still wish there was a good way to create different defaults for these) but otherwise have only customized the member group names/graphics and left pretty much everything else stock, since it's working so well for us.

I appreciate the responsiveness with which you've tackled questions, too.

You always wonder about using "free" themes, mods, etc, but this one has succeeded like crazy, so thanks again for all the work you put into it.

(if anyone's curious, we're using it at www.armchairdragoons.com/forum/ )

That makes me happy, I'm glad it's working great for you.

You always wonder about using "free" themes, mods, etc, but this one has succeeded like crazy, so thanks again for all the work you put into it.

Tat was the goal when making the theme, glad to see it is a success :)

In the future if you see any bugs or issues don't hesitate to post here, and thank you for the feedback :)
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

bayonetbrant

Hi again,

I'm trying to install our pro ad package that we've used elsewhere before.  It's a great ad package that covers everything we need, and with a solid UI.

I'm getting some "test failed" errors with the Lazarus theme when trying to install it, and wondering what info you'd need to help troubleshoot the installation process.
We use it to put ads in the 3 places on the site: top of page, after first post (on those pages), and bottom of page.  Each of those areas is individually enabled within the ad manager, but with the failures during the install test, I suspect there are changes in the code by the theme from what the ad manager is looking for.

What info do you need from us to help find/fix the errors to see if we can get this to install?

Thanks!

SychO

What's the mods link ?
Which files fail the installation ?
What are the exact changes that fail ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

bayonetbrant

Quote from: SychO on October 09, 2018, 09:39:24 AMWhat's the mods link ?
https://www.smfhacks.com/ad-seller-pro.php

Quote from: SychO on October 09, 2018, 09:39:24 AMWhich files fail the installation ?
see attachment

Quote from: SychO on October 09, 2018, 09:39:24 AMWhat are the exact changes that fail ?
Is this what you're looking for?

This is from the very first "test failed" message, using the pop-up accessed from the icon on the left

Code: (Find)
echo '
</div>
</div></div>';


Code: (Add Before)

// Begin Ad Seller Pro Location - Right Side of the Forum
if (ShowAdLocation(9,0,true) || ShowAdLocation(10,0,true))
{
echo '</td>';
global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(10);
if ($adSellerAdData != false)
{
echo '<td valign="top">';

echo $adSellerAdData;

echo '</td>';
}
echo '</tr></table>';
}
// End Ad Seller Pro Location - Right Side of the Forum



// Begin Ad Seller Pro Location - Overall Footer

global $sourcedir;
include_once $sourcedir . "/adseller2.php";

$adSellerAdData =  ShowAdLocation(2);
if ($adSellerAdData != false)
{
echo $adSellerAdData;
}

// End Ad Seller Pro Location - Overall Footer

SychO

Right, I actually think you're better off asking at smfhacks.com for help with this.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Aleksi "Lex" Kilpinen

Basically when an edit fails, it just doesn't find the exact code it is looking for, and you may need to do some manual changes. Manual Installation of Mods

It is not so much an error to troubleshoot, than it is the package manager functioning as designed.
Slava
Ukraini!


"Before you allow people access to your forum, especially in an administrative position, you must be aware that that person can seriously damage your forum. Therefore, you should only allow people that you trust, implicitly, to have such access." -Douglas

How you can help SMF

bayonetbrant

No problem.  we'll keep working on it.  Thanks!

bayonetbrant

just a quick question - is there a particular ad server that you already know does work well with this theme?  I'm willing to do a little hacking at it to make it work, but I'm trying to get something live ASAP so I can start reaching out to potential advertisers about working with us.


Thanks! :)

SychO

I honestly don't know, I don't exactly try to remember which mods work with my themes.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

landyvlad

I guess I'll try on a test site at some point but meanwhile...

Is this theme compatible with a portal e.g. TinyPortal or is it INSTEAD of a portal ?
"Put as much effort into your question as you'd expect someone to give in an answer"

Please do not PM, IM or Email me with questions on astrophysics or theology.  You will get better and faster responses by asking homeless people in the street. Thank you.

Be the person your dog thinks you are.

SychO

Quote from: landyvlad on October 17, 2018, 02:58:42 AM
I guess I'll try on a test site at some point but meanwhile...

Is this theme compatible with a portal e.g. TinyPortal or is it INSTEAD of a portal ?


It should be compatible with Simple Portal, Not sure about tiny portal, but I think it works fine with it.
You have to test and see.
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

lurkalot

Quote from: SychO on October 17, 2018, 12:12:07 PM
Quote from: landyvlad on October 17, 2018, 02:58:42 AM
I guess I'll try on a test site at some point but meanwhile...

Is this theme compatible with a portal e.g. TinyPortal or is it INSTEAD of a portal ?


It should be compatible with Simple Portal, Not sure about tiny portal, but I think it works fine with it.
You have to test and see.

It seemed to work fine with it when I tried it a week or two back.  If that's any help. ;)

-Rock Lee-

I thought I left the translations in Latin Spanish ... I'll leave you ;) anything you tell me!


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

Xpresskonami

Am trying to put a background image to the css, how can i do that????

yusuf34

hi,

in the news section, some characters seem problematic. I use language turkish. how can I solve this problem? (no problem with google chrome, just internet explorer)

thanks for this beautiful theme.


SychO

link to your forum ?
Checkout My Themes:
-

Potato  •  Ackerman  •  SunRise  •  NightBreeze

Arj3090

I'm getting an error from Google analysis:

Uncaught ReferenceError: is_ie is not defined

......./scripts/theme.js?fin20:131


Not sure where to begin looking. Can someone give me some guidance?

I'm guessing it is related to this:

// Add a fix for code stuff?
if ((is_ie && !is_ie4) || is_webkit || is_ff)
addLoadEvent(smf_codeBoxFix);

yusuf34

Quote from: SychO on January 01, 2019, 12:52:34 PM
link to your forum ?

I work at a local, but I uploaded it to a site to see. I sent you a message about this

thank you.

Advertisement: