News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

LGF Mod 1.3

Started by rocknroller, October 17, 2011, 11:48:31 AM

Previous topic - Next topic

rocknroller

Link to Mod

 * Modification made by LogoOff Team!
* Includes our past, present and future blocks used in our themes.
            

  • Blocks available (for now):   

    • Recent Topics/Messages with Post Preview
    • Advanced Who's Online
    • Smart Admin Dashboard
    • Show avatar
    • Who is viewing board


ATTENTION: Works only with Logooff themes.

Also you can download it from our official page - LINK

Stigmartyr

Thanks for the great free themes and time spent working on this mod, Log-Off.  While installed LGF mod with Glacier 2 I had already been running Simple Portal and discovered that they don't play well together.  When LGFBlocks.php is in /Sources the site will go blank.  Everything goes back to normal of course when I delete that fiile from /Sources.



Error Log:

http://mysite.com/SMF/index.php?action=admin;area=portalblocks

2: mysql_free_result() expects parameter 1 to be resource, null given

File: /var/www/vhosts/mysite.com/httpdocs/SMF/Sources/LGFBlocks.php
Line: 512
    Stig
71.212.96.40   
      Today at 10:51 am
01eab813d093d625c7b69a16a85d8057
Type of error: General

http://mysite.com/SMF/index.php?action=admin;area=portalblocks

2: mysql_fetch_assoc() expects parameter 1 to be resource, null given

File: /var/www/vhosts/mysite.com/httpdocs/SMF/Sources/LGFBlocks.php
Line: 510
    Stig
71.212.96.40   
      Today at 10:51 am
01eab813d093d625c7b69a16a85d8057
Type of error: Database

http://mysite.com/SMF/index.php?action=admin;area=portalblocks

Database Error: Table 'mysite_.smf_mgallery_media' doesn't exist


SELECT
COUNT(*) as notapproveditems
FROM smf_mgallery_media
WHERE approved = 0

File: /var/www/vhosts/mysite.com/httpdocs/SMF/Sources/LGFBlocks.php
Line: 509

-------

The log goes on for 5 pages this way calling out nearly every line in the code.  Any ideas?

Stigmartyr

^Solution.  If you have /Subs-MGallery.php in your Sources folder.  Please delete :P

ielapoc

I got hundreds of errors all contains these 3 lines below.

http://www.mydomain.com/index.php?action=admin;area=permissions;sa=profiles;dd7833980a=db1888bfc4f403462f2f6515fe2813a28 [nofollow]: Undefined index: 0File: /usr/local/pem/vhosts/275928/webspace/httpdocs/Sources/LGFBlocks.php
Line: 100




95:    $posts[] = array(
96:   'id' => $row_posts['id_member'],
97:   'username' => '<a style="color: ' . $row_posts['online_color'] . ';" href="' . $scripturl . '?action=profile;u=' . $row_posts['id_member'] . '">' . $row_posts['poster_name'] . '</a>',
98:   'subject' => '<a style="font-weight: bold;" title="' . $row_posts['name'] .'" href="' . $scripturl . '?topic=' . $row_posts['id_topic'] . '.msg' . $row_posts['id_msg'] . ';topicseen#new">' . $row_posts['subject'] . '</a>',
99:   'body' => $row_posts['body'],
==>100:   'avatar' => $row_posts['avatar'] == '' ? $memberContext[$row_posts['id_member']]['avatar']['href'] : (stristr($row_posts['avatar'], 'http://') ? $row_posts['avatar'] : $modSettings['avatar_url'] . '/' . $row_posts['avatar']),
101:   'board' => $row_posts['name'],
102:   'idboard' => $row_posts['id_board'],  
103:   'time' => timeformat($row_posts['poster_time'], '%d %b %y'),
104:   'new' => !empty($row_posts['is_read'])
105:    );

projectnaija

guys pls help me  i want a complete info center with recent post, last reply, total member online today/ever pls how to i active that on your great theme

LogoOff Team

I missed the your posts, sorry. Sometimes you get a quicker response on our official website.

LogoOff Team

Stigmartyr you are removed are our copyrights, shame on you.  ???

italo_anonimo

thanks for theme (Glacier) and mod!!!

tMicky

I keep getting errors with this mod:

8: Undefined index: avatar
Line: 850

8: Undefined index: default_avatar
Line: 856

It seems to be related to the SMF shoutbox and <script type="text/javascript" src="http://www.website .com/Themes/default/scripts/fader.js"></script>
--------^

any help? what does this mean? thanks

tMicky

no help? I keep getting these errors

noxe

This is a great mod, I use it on my website which has a custom Logooff theme :)

Kimmie

Does this work with SImplePortal as well?

rocknroller

There is no known issue with SP.

Advertisement: