Customizing SMF > Modifications and Packages
LGF Mod
LogoOff Team:
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
ATTENTION: Works only with Logooff themes.
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
--- Code: ---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: );
--- End code ---
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
Navigation
[0] Message Index
[#] Next page
Go to full version