Advertisement:

Author Topic: Lazarus  (Read 3302 times)

Offline SaltedWeb

  • Sr. Member
  • ****
  • Posts: 859
  • Gender: Male
  • The Tired One
Re: Lazarus
« Reply #60 on: July 15, 2018, 06:22:33 PM »
Great .. thank you that will head me in the right direction :-)
Knowing your limitations makes you human, exceeding these limitations makes you worthy of being human.

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 260
    • @pocttopus on Twitter
Re: Lazarus
« Reply #61 on: July 19, 2018, 04:00:12 AM »
Hi there again...

Avatars in topics are not well in a position... and also "view profile" icon is not displayed.
The icon is there in /Themes/lazarus_2/images/icons/profile_sm.gif but somehow it doesn't displayed.

How can I solve this?
Thanks.  :)

edit: also I am using SmartPortal.

« Last Edit: July 19, 2018, 04:10:44 AM by pocttopus »

Offline SychO

  • Support Member of the Month
  • Jr. Member
  • *
  • Posts: 314
  • Gender: Male
    • SychO9 on GitHub
    • SychO
Re: Lazarus
« Reply #62 on: July 19, 2018, 04:40:28 AM »
Hi there again...

Avatars in topics are not well in a position... and also "view profile" icon is not displayed.
The icon is there in /Themes/lazarus_2/images/icons/profile_sm.gif but somehow it doesn't displayed.

How can I solve this?
Thanks.  :)

edit: also I am using SmartPortal.



Yea, that's due to simpleportal
open index.css & index.min.css, look for
Code: [Select]
td .avatar change it to
Code: [Select]
td>.avatar
As for the gif image, that's a weird one, try deleting it, and then uploading it(the one I attached)

Offline pocttopus

  • Jr. Member
  • **
  • Posts: 260
    • @pocttopus on Twitter
Re: Lazarus
« Reply #63 on: July 19, 2018, 07:51:54 AM »
Yea, that's due to simpleportal
open index.css & index.min.css, look for
Code: [Select]
td .avatar change it to
Code: [Select]
td>.avatar
As for the gif image, that's a weird one, try deleting it, and then uploading it(the one I attached)

It works!!!
Thanks again... avatars are little bit bigger than expected, but I can change their size through index.css;)
And also icon is working and displayed properly.  :)


Offline pocttopus

  • Jr. Member
  • **
  • Posts: 260
    • @pocttopus on Twitter
Re: Lazarus
« Reply #64 on: July 20, 2018, 09:57:32 AM »
I've changed this color style for quick reply because the color is overlapping with textbox color:

Code: [Select]
.roundframe {
    padding: 0;
    background: #f5f5f5;
}

Changed to:
Code: [Select]
.roundframe {
    padding: 0;
    background: #d5d2d2;
}

Offline Veee

  • Semi-Newbie
  • *
  • Posts: 76
  • Gender: Female
Re: Lazarus
« Reply #65 on: July 24, 2018, 06:05:23 PM »
This theme is amazing, thank you so much for providing it for free to the smf community! :) :) :)

Offline drfun

  • Jr. Member
  • **
  • Posts: 191
  • Gender: Male
    • All Student Forum
Re: Lazarus
« Reply #66 on: July 27, 2018, 04:39:48 AM »
Please how do get ads in the message index on this theme to display,  I am getting error with ad management mod.
The error is coming from the "if" statement from this code below.
Code: [Select]
   //Display Ads on the Message index
   if (function_exists("show_underchildren"))
   {
      $ads = show_underchildren();
      if(!empty($ads))
         if($ads['type']==0)
            echo $ads['content'];
         else
            eval($ads['content']);
      unset($ads);
   }

Which I placed just after this code below in the themes/lazarus/messageindex.template.php
Code: [Select]
global $context, $settings, $options, $scripturl, $modSettings, $txt;
All students forum -Global Online community for Students, Ex-Students and their friends

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,855
  • Gender: Male
    • i30 Owners Club
Re: Lazarus
« Reply #67 on: July 27, 2018, 05:05:44 AM »
Quote from: above
The error is coming from the "if" statement from this code below.

Give us a clue. What error?

Offline drfun

  • Jr. Member
  • **
  • Posts: 191
  • Gender: Male
    • All Student Forum
Re: Lazarus
« Reply #68 on: July 27, 2018, 05:27:08 AM »
Quote from: above
The error is coming from the "if" statement from this code below.

Give us a clue. What error?
It's sythex error,  an "if" statement should be escaped with (/)
All students forum -Global Online community for Students, Ex-Students and their friends

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,855
  • Gender: Male
    • i30 Owners Club
Re: Lazarus
« Reply #69 on: July 27, 2018, 05:32:45 AM »
You've probably stuck your code inside an echo statement without regard to the required string syntax. Attach your template file.

Offline drfun

  • Jr. Member
  • **
  • Posts: 191
  • Gender: Male
    • All Student Forum
Re: Lazarus
« Reply #70 on: July 27, 2018, 08:34:03 AM »
You've probably stuck your code inside an echo statement without regard to the required string syntax. Attach your template file.
Below is the attached file.
All students forum -Global Online community for Students, Ex-Students and their friends

Offline Sh@mbles

  • SMF Hero
  • ******
  • Posts: 4,855
  • Gender: Male
    • i30 Owners Club
Re: Lazarus
« Reply #71 on: July 27, 2018, 10:00:52 AM »
Well it would have been better to attach the file, but from your screenprint you need to change

Code: (find) [Select]
global $context, $settings, $options, $scripturl, $modSettings, $txt,
to this

Code: (changeto) [Select]
global $context, $settings, $options, $scripturl, $modSettings, $txt, $memberContext;

Then remove line 28.

Offline drfun

  • Jr. Member
  • **
  • Posts: 191
  • Gender: Male
    • All Student Forum
Re: Lazarus
« Reply #72 on: July 27, 2018, 10:39:49 AM »
Well it would have been better to attach the file, but from your screenprint you need to change

Code: (find) [Select]
global $context, $settings, $options, $scripturl, $modSettings, $txt,
to this

Code: (changeto) [Select]
global $context, $settings, $options, $scripturl, $modSettings, $txt, $memberContext;

Then remove line 28.
Thanks bro, it work just fine without removing the line 28. i got the same error when i removed the line 28.
Thanks a lot.
All students forum -Global Online community for Students, Ex-Students and their friends