SMFHacks.com
SMFHacks
Community Suite
SMF Gallery Pro
SMF Store
SMF Classifieds
Newsletter Pro
Downloads System Pro
Ad Seller Pro
Badge Awards
Hacks and Mods
Latest SMF Hacks
TopTen Hacks
Styles and Themes
Add a Hack
Manage Hacks
Earn Money from Your Forum with these tips
SMF Theme Generator
SMF Package Parser
Free SMF Hosting
Buy Website Traffic
Site Showcase
Email Marketing Software
Search Forums
Advanced search
User
Welcome,
Guest
. Please
login
or
register
.
May 20, 2013, 03:20:55 pm
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
Stats
Members
Total Members: 10763
Latest:
sora
Stats
Total Posts: 32358
Total Topics: 5476
Online Today: 54
Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Users: 0
Guests: 47
Total: 47
SMFHacks.com
Forum
SMF Gallery Pro
Presales
Question about Features before buying
0 Members and 1 Guest are viewing this topic.
« previous
next »
Pages:
1
[
2
]
3
Author
Topic: Question about Features before buying (Read 5921 times)
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #15 on:
August 12, 2012, 06:20:05 pm »
You're great! That worked just fine! I'm trying to learn some php language so I don't bother you with this questions but until then, I really appreciate your help.
Btw, I found out that this mod:
Profile Images - Lists Recent Uploaded Images:
http://www.smfhacks.com/index.php/topic,691.0.html
has a working version posted on that topic here:
http://www.smfhacks.com/index.php/topic,691.msg26826.html#msg26826
Is not the best as I liked the images on the side and here they appear at the bottom. Still, it's still pretty good. You might wanna post a direct a link on the first post the there as a SMF2.0.2 working version.
I'm only missing now this one: Recent Images on overall theme header:
http://www.smfhacks.com/index.php/topic,163.0.html
As it would really promote the gallery on the entering page of the site. Would be great if you could adapt it to SMF2.0.2.
Thanks once again.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10989
Re: Question about Features before buying
«
Reply #16 on:
August 13, 2012, 11:14:05 pm »
Quote from: Jonas1975 on August 12, 2012, 06:20:05 pm
You're great! That worked just fine! I'm trying to learn some php language so I don't bother you with this questions but until then, I really appreciate your help.
Btw, I found out that this mod:
Profile Images - Lists Recent Uploaded Images:
http://www.smfhacks.com/index.php/topic,691.0.html
has a working version posted on that topic here:
http://www.smfhacks.com/index.php/topic,691.msg26826.html#msg26826
Is not the best as I liked the images on the side and here they appear at the bottom. Still, it's still pretty good. You might wanna post a direct a link on the first post the there as a SMF2.0.2 working version.
I'm only missing now this one: Recent Images on overall theme header:
http://www.smfhacks.com/index.php/topic,163.0.html
As it would really promote the gallery on the entering page of the site. Would be great if you could adapt it to SMF2.0.2.
Thanks once again.
Posted versions that should install cleanly for SMF 2.0.2
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #17 on:
August 14, 2012, 03:42:45 am »
Quote from: SMFHacks on August 13, 2012, 11:14:05 pm
Posted versions that should install cleanly for SMF 2.0.2
Thanks a million!
First, seems that you mistaken uploaded the wrong file here:
http://www.smfhacks.com/index.php/topic,468.0.html
Now, I wanted to test this but I can't uninstall:
SMF Gallery Pro Recent Profile Images
SMF Gallery Pro Recent Comments Board Index
That I already had installed before... Gives a "Test Failed" when I try to uninstall so I didn't go further with this.
I assume that I shouldn't try to install these over the ones installed.
I have compared the code of the Recent Profile Images mod and seems to be exactly the same I have installed so I don't need to make changes. I might be able to change manually the code for the Recent Comments Board Index mod and avoid having to uninstall.
As for the:
SMF Gallery Pro Recent Images - It shows incompatible to my Current Theme but ok for the default one
SMF Gallery Pro Gallery Information Header - It shows incompatible to my Current Theme but ok for the remaining ones
If it's difficult to make it compatible with other themes, I might try to manually add this (it doesn't hurt to try).
Btw, not sure if it's important but on the package-info.xml file of recentimagesprofile.zip, there is no mention to profileimages2.xml or profileimages08.xml and the same applies to package-info.xml file of recentimages2.0.zip to profileimages2.xml and I think there is an error here
Code:
<uninstall for="2.0 - 2.0.99,2.0 RC2, 2.0 RC3, 2.0 RC4, 2.0 RC5">
<modification type="file" reverse="true">recentimages2c2.xml</modification>
</uninstall>
as it's missing an "r".
«
Last Edit: August 14, 2012, 04:58:16 am by Jonas1975
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10989
Re: Question about Features before buying
«
Reply #18 on:
August 14, 2012, 07:39:42 am »
Fixed for recent comments wrong file uploaded
And fixed uninstall for recentimages2.0.zip
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #19 on:
August 14, 2012, 08:08:29 am »
Thanks once again. Since I was unable to uninstall the Recent Comments mod, I managed to fix the one I had installed with the help of the code that you posted on your update.
I will try now to add the the Recent Images mod. I might need your assistance to understand where I should put the code since the "// The main content should go here." statement doesn't exist on the theme I'm using and I'm not understanding where it should go on the index.template.php.
This is the part of the code where I think it should be added but not sure where:
Code:
function template_body_above()
{
global $context, $settings, $options, $scripturl, $txt, $modSettings;
echo '
<div id="bodybg">
<div id="wrapper">
<div id="header">
<div id="head-l">
<div id="head-r">
<div id="userarea" class="smalltext">';
if (!empty($context['user']['avatar']))
echo '<div id="my-avatar" class="clearfix">'.$context['user']['avatar']['image'].'</div>';
if ($context['user']['is_logged'])
{
echo '
<ul class="reset">
<li><b>', $txt['hello_member'], ' ', $context['user']['name'], '</b></li>';
echo '
<li><a href="', $scripturl, '?action=unread">', $txt['unread_since_visit'], '</a></li>
<li><a href="', $scripturl, '?action=unreadreplies">', $txt['show_unread_replies'], '</a></li>
<li>', $context['current_time'],'</li>
</ul>';
}
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo sprintf($txt['welcome_guest'], $txt['guest_title']);
echo '<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/scripts/sha1.js"></script>
<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" style="margin: 4px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<input type="text" name="user" size="10" class="input_text" />
<input type="password" name="passwrd" size="10" class="input_password" />
<input type="submit" value="', $txt['login'], '" class="button_submit" />
<input type="hidden" name="hash_passwrd" value="" />
</form>', $context['current_time'],'<br />';
}
echo '
</div>
<div id="searcharea">
<form action="', $scripturl, '?action=search2" method="post" accept-charset="', $context['character_set'], '">
<input class="inputbox" type="text" name="search" value="', $txt['search'], '..." onfocus="this.value = \'\';" onblur="if(this.value==\'\') this.value=\'', $txt['search'], '...\';" /> ';
// Search within current topic?
if (!empty($context['current_topic']))
echo '
<input type="hidden" name="topic" value="', $context['current_topic'], '" />';
// If we're on a certain board, limit it to this board ;).
elseif (!empty($context['current_board']))
echo '
<input type="hidden" name="brd[', $context['current_board'], ']" value="', $context['current_board'], '" />';
echo '
</form>
</div>';
// Show a random news item? (or you could pick one from news_lines...)
if (!empty($settings['enable_news'])){
echo '<div id="news">
<br /><b>', $txt['news'], ':</b> ', $context['random_news_line'], '</div>';}
echo '
<a href="'.$scripturl.'" title=""><span id="logo"> </span></a>';
echo '
</div>
</div>
</div>
<div id="toolbar">
',template_menu(),'
</div>
<div id="top">
<div id="top-r">
<div id="top-l">
</div>
</div>
</div>
<div class="border-l">
<div class="border-r">
<div id="bodyarea">';
// Show the navigation tree.
theme_linktree();
}
Or it might be on somewhere else... Sorry... I'm not comfortable yet with php language...
«
Last Edit: August 14, 2012, 08:10:27 am by Jonas1975
»
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #20 on:
August 14, 2012, 08:05:15 pm »
Managed to install the Recent Images mod, so you don't have to worry about that.
I see that this installs on every single part of the forum. Is there a way to just make it appear on the Main (entering) page? Or to choose where it can be seen?
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #21 on:
August 15, 2012, 06:32:48 am »
Quote from: Jonas1975 on August 14, 2012, 08:05:15 pm
Managed to install the Recent Images mod, so you don't have to worry about that.
I see that this installs on every single part of the forum. Is there a way to just make it appear on the Main (entering) page? Or to choose where it can be seen?
I'm a fast learner... I managed to add them only to the first page by adding the code to BoardIndex.template.php instead of the Index.template.php.
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #22 on:
August 20, 2012, 02:42:44 pm »
Quote from: Jonas1975 on August 15, 2012, 06:32:48 am
I'm a fast learner... I managed to add them only to the first page by adding the code to BoardIndex.template.php instead of the Index.template.php.
I getting this error with no visual impact on the Forum:
Code:
http://themobilephotographyblog.com/index.php?
8: Undefined variable: gallerySettings
File: /home/sites/themobilephotographyblog.com/public_html/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 56
Is there something I should do about it?
It's clearly the segment of code that I added to the BoardIndex.template.php that seemed to be working just fine. Still, I checked the Error Log and I have this for each access to the main page.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10989
Re: Question about Features before buying
«
Reply #23 on:
August 20, 2012, 03:03:04 pm »
Attach that whole file.
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #24 on:
August 21, 2012, 04:20:29 am »
Quote from: SMFHacks on August 20, 2012, 03:03:04 pm
Attach that whole file.
You mean the BoardIndex.template.php? Attached. If it's other file, please tell me which one.
Another question related with the ratings on the Gallery. On the main gallery
http://themobilephotographyblog.com/gallery/
the Top Rated photos are not sort the right way as I have photos with 1 rate of 5 stars on top of photos with 2 rate of 5 stars. On this part
http://themobilephotographyblog.com/gallery/?sa=listall;type=toprated
they are in a "better" sort but still I have a picture of 4.5 stars ahead of the one with 5 stars (because one has 9 stars and other has 5, I understand that). I would like to have the ones with 5 stars ahead of the ones with 4.5 and the ones with higher number of rates ahead of the ones with less. Any way to do this? If not, I would still like to "fix" the main gallery view to have the same sort of the view with the detail of Top Rated.
«
Last Edit: August 21, 2012, 04:27:18 am by Jonas1975
»
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10989
Re: Question about Features before buying
«
Reply #25 on:
August 21, 2012, 08:19:36 pm »
Quote from: Jonas1975 on August 20, 2012, 02:42:44 pm
Quote from: Jonas1975 on August 15, 2012, 06:32:48 am
I'm a fast learner... I managed to add them only to the first page by adding the code to BoardIndex.template.php instead of the Index.template.php.
I getting this error with no visual impact on the Forum:
Code:
http://themobilephotographyblog.com/index.php?
8: Undefined variable: gallerySettings
File: /home/sites/themobilephotographyblog.com/public_html/Themes/default/BoardIndex.template.php (main sub template - eval?)
Line: 56
Is there something I should do about it?
It's clearly the segment of code that I added to the BoardIndex.template.php that seemed to be working just fine. Still, I checked the Error Log and I have this for each access to the main page.
Hmm didn't find any gallery code in that file.
We need to find the true error file and line
Check out this post on disabling eval to find it out
http://www.catskilltech.com/freeSW/SMF/faqs/#eval
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #26 on:
August 22, 2012, 04:58:39 am »
Quote from: SMFHacks on August 21, 2012, 08:19:36 pm
Hmm didn't find any gallery code in that file.
We need to find the true error file and line
Check out this post on disabling eval to find it out
http://www.catskilltech.com/freeSW/SMF/faqs/#eval
Sorry... Uploaded the wrong file (maybe my backup file). Now is the one I have changed to have the Recent Images header only on the Main page.
I will explore that link to see if I can find the source of the error.
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10989
Re: Question about Features before buying
«
Reply #27 on:
August 22, 2012, 07:45:32 am »
Fixed file attached
Logged
Jonas1975
SMF Gallery Pro Customer
Full Member
Offline
Posts: 157
Re: Question about Features before buying
«
Reply #28 on:
August 22, 2012, 01:32:49 pm »
Quote from: SMFHacks on August 22, 2012, 07:45:32 am
Fixed file attached
Thank you!
I will try it and report it here to see if it fixed the error.
How about this?
Quote
Another question related with the ratings on the Gallery. On the main gallery
http://themobilephotographyblog.com/gallery/
the Top Rated photos are not sort the right way as I have photos with 1 rate of 5 stars on top of photos with 2 rate of 5 stars. On this part
http://themobilephotographyblog.com/gallery/?sa=listall;type=toprated
they are in a "better" sort but still I have a picture of 4.5 stars ahead of the one with 5 stars (because one has 9 stars and other has 5, I understand that). I would like to have the ones with 5 stars ahead of the ones with 4.5 and the ones with higher number of rates ahead of the ones with less. Any way to do this? If not, I would still like to "fix" the main gallery view to have the same sort of the view with the detail of Top Rated.
Should I post it on the Bugs section?
Logged
SMFHacks
Administrator
Hero Member
Offline
Posts: 10989
Re: Question about Features before buying
«
Reply #29 on:
August 22, 2012, 01:41:51 pm »
I am not sure I originally changde since people thought it would be far. Otherwise it will just be a list of images with one five star rating as being in the top images.
Logged
Pages:
1
[
2
]
3
« previous
next »
Jump to:
Please select a destination:
-----------------------------
SMFHacks.com
-----------------------------
=> News
=> Site Discussion
===> Suggestions
===> Bugs
-----------------------------
SMF Gallery Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
SMF Store
-----------------------------
=> Announcements
=> Presales
=> Support
===> Guides and Tips
===> Feature Requests
===> Bugs
-----------------------------
SMF Classifieds
-----------------------------
=> Announcements
=> Presales
=> Support
===> Bugs
===> Feature Requests
-----------------------------
Downloads System Pro
-----------------------------
=> Announcements
=> Presales
=> Support
===> Feature Requests
===> Bugs
-----------------------------
Ad Seller Pro
-----------------------------
=> Presales
=> Support
-----------------------------
Menu Editor Pro
-----------------------------
=> Presales Menu Editor Pro
=> Bug Reports
-----------------------------
Inline Personal Messages
-----------------------------
=> Presales
=> Support
=> Bug Reports
-----------------------------
Newsletter Pro
-----------------------------
=> Presales
=> Support
===> Feature Requests
-----------------------------
Badge Awards
-----------------------------
=> Presales
=> Support
-----------------------------
Tweet Topics/FB Post System
-----------------------------
=> Presales
-----------------------------
Social Login Pro
-----------------------------
=> Presales
-----------------------------
SMF Gallery Lite
-----------------------------
=> SMF Gallery Lite
-----------------------------
Modifications/Themes
-----------------------------
=> General SMF Forum
=> Modifications Talk
===> Latest Mods
===> Modification Showcase
=> Theme Talk
===> Theme Showcase
===> Latest Themes
Recent
[Request] - Award for any...
by
shuban
[
Today
at 10:43:19 am]
SMF vs PhpBB
by
gibranabahel
[May 19, 2013, 11:13:02 pm]
Changing the font
by
livingunique
[May 19, 2013, 10:01:19 pm]
Upgrade SMF Gallery Pro
by
DTroup
[May 19, 2013, 08:18:27 pm]
sa facebook integration c...
by
murdocklawless
[May 19, 2013, 07:03:27 am]
Feature Requests for SMF ...
by
Secure
[May 16, 2013, 10:13:46 pm]
stuck on "Processing" scr...
by
SMFHacks
[May 15, 2013, 11:32:14 pm]
SMF Gallery Pro 5.0.1 not...
by
SMFHacks
[May 12, 2013, 09:10:43 am]
Golf Theme
by
Serglike
[May 10, 2013, 03:49:55 am]
Display ads on every page...
by
SMFHacks
[May 07, 2013, 07:12:40 pm]
Random Picture
Donate to SMFHacks.com
Help Support the SMFHacks.com mod making.
Loading...