Facebook  Twitter 

SMFHacks.com

+- +-

SMFHacks.com

+- User Information

Welcome, Guest.
Please login or register.
 
 
 
Forgot your password?

+- Forum Stats

Members
Total Members: 12207
Latest: luisda3
New This Month: 15
New This Week: 7
New Today: 5
Stats
Total Posts: 39194
Total Topics: 6902
Most Online Today: 126
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 1
Guests: 46
Total: 47

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - SMFHacks

Pages: [1] 2 3 ... 16
1
News / Adseller Pro 3.0 Released!
« on: October 06, 2018, 05:45:42 pm »
We have just released AdSeller Pro 3.0  This release brings a couple new new features

Ad's now target mobile or desktop or both. This will allow you more control over your advertisements and on what devices they appear on.
Also a new feature anti adblock feature which gives users a notice if they are using adblock and blocking google adsense.
Better support for UTF8 for SMF 2.0.x in various areas.

We have also done some minor improvements and fixes which are detailed below in the changelog.

For more information on Adseller Pro visit https://www.smfhacks.com/ad-seller-pro.php

Current active license owners and community suite customers can download the newest release from: https://www.smfhacks.com/index.php/topic,4271.0.html  It is recommended to do an uninstall of the old version then install the new version for the new adblock code to be able to work.

Changelog:

3.0
+Added option for ads to target mobile, desktop or both
+Adblock protection for google ads feature
+Added location title to be clickable on locations page
!Better support for UTF8 for SMF 2.0.x
!Fixed alignment for text ads to respect settings
!Removed temp banner file if file size or height/width exceeded
!Fixed new window setting
!Minor optimizations

2
Latest Mods / [Mod]Dynamic Memberlist
« on: September 17, 2018, 05:00:59 pm »
Dynamic Memberlist



https://www.smfhacks.com/index.php?action=downloads;sa=view;down=214

Dynamic Memberlist 3.0
by Antechinus

This modification (for SMF 2.0 only) completely replaces the standard SMF Memberlist.template.php,
as well as making substantial alterations to the buddies list and ignore list in Profile.template.php,
and to the who's online list in Who.template.php.

This mod replaces the old tables of member details with styleable blocks that stack to fit screen width.

RTL languages are fully supported, without requiring any code in rtl.css.

Usernames at the top of member blocks will be cropped if they are over 22 characters long.

The only image included is default_avatar_block.png, for members who do not have an avatar.
This default avatar is 240x240 px, so it will not pixellate on high density displays.
Change this image to anything you like, keeping the same name for the new image.

Avatars are clickable and will redirect to the member's profile (if allowed) or to the login page.
By default the member blocks will display avatars up to 120px wide by 120px high.

This mod includes CSS to resize avatars to the desired size in the member blocks.
The CSS is commented so that people can easily adjust block sizes and avatar sizes.

Look for the following code if you wish to change the width of the blocks:

.member_block .reset {
  /* Sets the overall width of the blocks. */
  width: 155px;
  background-image: linear-gradient(to top, #E3EDF7 0, #fff 100%);
  border-radius: 6px;
}

Look for this code if you wish to change the displayed size of avatars:

.avatar_block {
  /* Make this slightly taller than maximum avatar height. */
  height: 125px;
}
.avatar_block .avatar {
  width: auto;
  height: auto;
  /* Adjust these to suit preferred maximum avatar size. */
  max-width: 120px;
  max-height: 120px;
}

Please note that this mod is not compatible with other memberlist mods. These must be uninstalled.

This mod is licensed under the WTFPL, which is a legally recognized and completely valid license.

If the possibility of seeing profanity means you would prefer to not read the actual license terms, rest assured that you can do whatever you like with this mod's code.

Enjoy.

3
Latest Mods / [Mod]Guest Post No Email Field
« on: September 13, 2018, 10:41:07 pm »
Guest Post No Email Field




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=213

Guest Post No Email Field

For SMF 2.0.x

Adds an interface to turn off the email for guests posts

Found under Admin -> Posts and Topics -> Post Settings

4
Latest Mods / [Mod]Discord Web Hooks
« on: September 09, 2018, 03:40:54 pm »
Discord Web Hooks




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=212

Adds support for posting of new topics and messages to discord.
Also supports posting when a new user registers.

You can customize the messages posted for these actions, along with the name of the bot that posts the message.

Uses either cURL or fsockopen to make the post.

5
Latest Mods / [Mod]Tidy Child Boards 2.0
« on: August 20, 2018, 01:32:43 pm »
Tidy Child Boards 2.0




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=211


Tidy Child Boards 2.0 by Arantor

This mod for SMF 2.0 lets you rearrange the list of boards so instead of having all the 'child boards' in a long comma-separated list under a board, it rearranges it into a nice multi-column list.

Version 1 was popular enough with over 10,000 downloads but it had one fundamental problem I never addressed at the time: it still required theme edits, not that it ever actually needed them.

Version 2 sets out to do the same job without the theme edits, and generally do a nicer modding job; some of the foibles of v1 were the result of trying to be relatively compatible with 1.1 and 2.0, this version is for 2.0 only.

It probably won't play particularly nicely with other board index modifications but there's only so much that can be done about that.
Disclaimer

    This is for 2.0 only.


License

It's BSD licensed as per the LICENSE file.

6
News / HashTags system for SMF 2.0 released
« on: August 12, 2018, 12:54:20 pm »
We have released HashTags for SMF 2.0.x. HashTags allows you to use hashtags such as #forum, #smf in your forum posts like twitter. They are linked to a listing page that shows all the hashtags in use on your forum. This makes for an easier searching system and is commonly used in social networking websites.

For more information on HashTags visit https://www.smfhacks.com/hashtags.php

Existing active Community Suite license members can download the latest version of HashTags from the download forum for HashTags

7
Latest Mods / [Mod]SMF Hall Of Fame
« on: August 01, 2018, 10:47:19 am »
SMF Hall Of Fame




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=210

A Hall Of Fame Page Where You can Add Notable Members.
Simple and Easy Admin page, Two possible layouts to choose from, and possibility to add sections to the page.

Live Demo: http://dzairgaming.0fees.us/forum/index.php?action=hof

8
Latest Themes / [Theme] Lazarus
« on: August 01, 2018, 10:43:09 am »
Lazarus




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=209

Lazarus, is a Simple & Responsive SMF Theme, Black&White and a little Blue.
NOTICE: Some Pages/Tables May not be responsive


Copyright (C) 2018 SychO (M.S)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Graphics
-----------------
Fugue Icons | 2012 Yusuke Kamiyamane | These icons are licensed under a Creative Commons Attribution 3.0 License
Oxygen Icons | These icons are licensed under GNU LGPLv3
-----------------

9
Latest Themes / [Theme] NightBreeze
« on: August 01, 2018, 10:40:47 am »
NightBreeze




https://www.smfhacks.com/index.php?action=downloads;sa=view;down=208

NightBreeze, is a Dark Simple & Responsive SMF Theme, For Free.
NOTICE: Some Pages/Tables May not be responsive

Copyright (C) 2018 SychO (M.S)
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
Graphics
-----------------
Fugue Icons | 2012 Yusuke Kamiyamane | These icons are licensed under a Creative Commons Attribution 3.0 License
Oxygen Icons | These icons are licensed under GNU LGPLv3

10
Pretty Urls / prettyurls - TroubleShooting.wiki
« on: July 13, 2018, 04:24:23 pm »
If you're experiencing problems with Pretty URLs this page may help you. But first check that your forum is using the latest version of this mod.

Every link causes 404 Not Found errors
If after installing the mod every link is broken, there is probably a problem with your server (it may not support mod_rewrite or per-directory .htaccess configuration files). To fix the links so that the problem can be diagnosed and fixed, or so you can uninstall the mod, create a new .php file with this code:

Code: [Select]
<?php require_once(dirname(__FILE__) . '/SSI.php'); updateSettings(array('pretty_enable_filters' => '0')); ?>
Upload the file to the same location as your forum's SSI.php and open it with your web browser. Then don't forget to delete it!

Links point to old domain after moving forum
This is very simple to fix, in addition to updating all the other settings with repair_settings.php, this mod has one more setting to fix. You can either manually fix the pretty_root_url setting yourself, or else create a new .php with this code:
Code: [Select]
<?php require_once(dirname(__FILE__) . '/SSI.php'); require_once($sourcedir '/Subs-PrettyUrls.php'); updateSettings(array('pretty_root_url' => $boardurl)); pretty_update_filters(); ?>
Upload the file to the same location as your forum's SSI.php and open it with your web browser. Then don't forget to delete it!

Sub-directories can't be opened
If you have a sub-directory in your forum directory you will no longer be able to access it as SMF will think you want to open a board with its name (note if you refer to a page in that sub-directory it will work fine.) With one addition to your .htaccess file you can fix this. You may have to change your FTP client's settings in order to see the hidden .htaccess file. This example is for the sub-directory /chat/, which should open /chat/index.html; add it to the top of your .htaccess file (outside the Pretty URLs section!)

Code: [Select]
RewriteRule ^chat/?$ /chat/index.html [L,QSA]

11
Pretty Urls / prettyurls - DatabaseChanges.wiki
« on: July 13, 2018, 04:23:01 pm »
The Pretty URLs mod needs to make several changes to the database. This is a reference in case you need to manually edit or fix something.

If you ever want to completely remove the mod, you will need to remove all of these additions too. To be super-cool, use the uninstall tool.

New tables

| Name | Structure | Description | |:---------|:--------------|:----------------| | smf_pretty_topic_urls | id_topic: mediumint, pretty_url: varchar(80) | Stores the (partial) URLs for topics. Currently the only way to change a topic's URL is to edit this table manually. | | smf_pretty_urls_cache | url_id: varchar(255), replacement: varchar(255) | A complete list of every URL in the forum with its prettified replacement. The url_id column stores the original URL, with $scripturl and other common URLs shortened. |

New settings
Settings are stored in the smf_settings table. Many of these settings use serialized arrays, so the following PHP functions might be useful: serialize(), unserialize().

| Name | Description | |:---------|:----------------| | pretty_action_array | An array of forum actions, extracted from index.php. | | pretty_board_lookup | A serialized array of URL => ID_BOARD pairs, used for processing $_GET['board']. There can be more than one URL for each board. | | pretty_board_urls | A serialized array of ID_BOARD => URL pairs, used for generating pretty replacement URLs. | | pretty_enable_filters | Sets whether to prettify anything at all. 0 for no, 1 for yes. | | pretty_filters | A serialized array of filter data. | | pretty_filter_callbacks | A serialized array of callback function names, sorted by priority. Don't manually edit this, edit the pretty_filters setting instead. | | pretty_root_url | The base URL used by the board and topic filters, which by default is the same as $boardurl. |

12
Pretty Urls / prettyurls - Filters.wiki
« on: July 13, 2018, 04:22:02 pm »
Pretty URLs is organized around filters, which are sets of instructions about what to do to with a page's URLs. If you want to change how Pretty URLs operates, or to add extra functionality, you will need to understand how a filter is constructed.

The filters array
The data for each filter Pretty URLs uses is all contained in a single array, which is serialized and stored in the pretty_filters database setting. You can edit this database setting yourself, however to make it easier to do so, a hidden admin tool was created which can be accessed at index.php?action=admin;area=pretty;sa=filters or admin/?area=pretty;sa=filters if the actions filter is enabled. This tool displays the array in the JSON format which should be easier to edit, however the parser is still rather strict.

So what does the array contain? Well the best way to explain is with an example filter. Here is a filter in the PHP array format which, for example, you might add with a package:

Code: [Select]
$prettyFilters = array( 'example' = array( // The filter must have an ID which is also the array's key 'description' => 'A new example filter', // This description will be displayed in the admin panel 'enabled' => 1, // Set enabled to 1 to enable and 0 to disable it 'filter' => array( // Filter callbacks are functions which are run to process each URL in a page 'priority' => 5, 'callback' => 'pretty_example_filter', // Name of the function to run ), 'rewrite' => array( // Most filters will add rewrite rules which will change a pretty URL into a less pretty, but more useable, internal URL 'priority' => 5, 'rule' => 'RewriteRule ^example\.html index.php?action=example [L]', // The RewriteRule to add to the .htaccess file, if there are multiple rules for a filter this can be an array of strings ), 'test_callback' = > 'pretty_example_test', // A function which returns an short array of links which will be rewritten by this filter 'title' => 'Example', // This title will be displayed in the admin panel ), );

Each filter may have filter or rewrite sections. If it does, then each must have unique priority numbers, though a mod may use the same number for both it's filter callback and rewrite rules. These priority numbers are sorted in ascending order. Custom filters should use numbers less than 20 if they want to catch URLs before any of the standard filters do, or numbers more than 80 if they want to catch URLs only if the other filters have ignored them.

Here is the above array in JSON format:

Code: [Select]
{ "example": { "description": "A new example filter", "enabled": 1, "filter": { "priority": 5, "callback": "pretty_example_filter" }, "rewrite": { "priority": 5, "rule": "RewriteRule ^example\.html index.php?action=example [L]" }, "test_callback": "pretty_example_test", "title": "Example" } }

Filter callbacks

Filter callback functions do the work of rewriting a page's URLs. The list of URLs is passed to the function which can then change them however it likes. Usually various regexs will be used to search for query string fragments to replace. Here is an example function which would produce the URL used in the above filter:

Code: [Select]
function pretty_example_filter($urls) { global $boardurl, $scripturl;

$pattern = '`' . $scripturl . '?action=example$`S';  // The pattern to search for, in this case action=example, use ` so that ~s in URLs will work.
$replacement = $boardurl . '/example.html';   // The replacement URL
foreach ($urls as $url_id => $url)
    if (!isset($url['replacement']))   // This is very important: unless you are very certain of what you're doing, do not rewrite URLs that have already been rewritten!
        if (preg_match($pattern, $url['url']))
            $urls[$url_id]['replacement'] = preg_replace($pattern, $replacement, $url['url']);
return $urls;
}

Test callbacks
Test callback functions return a short array of links which will be written by the filter.
Code: [Select]
function pretty_example_test() { global $scripturl, $txt;

return array('<a href="' . $scripturl . '?action=example">' . $txt['example_link'] . '</a>');
}





13
News / Pretty Urls SEO Pro Released
« on: July 12, 2018, 09:54:44 pm »
We have just released Pretty Urls SEO Pro Released for SMF 2.0.x. PrettyUrls SEO Pro helps improve search engine ranking by employing various tweaks and improvements. Such as sitemap information to point search engines to the main forum areas, Open Graph support to allow social media and search engines easy access to your forum information for spidering. In addition allows you to create your own custom 404/403 erorr pages, edit your .htccess file and robot.txt and more.


For more information on Pretty Urls SEO Pro visit https://www.smfhacks.com/prettyurls-seo-pro.php

Existing active Community Suite license members can download the latest version of Pretty Urls SEO Pro from the download forum for Pretty Urls SEO Pro

14
News / Message Editor Pro released
« on: June 20, 2018, 08:06:24 pm »
We have just released Message Editor Pro. Adds a new post/message editor system to SMF. This new editor uses the same editor that SMF 2.1 has! This new editor solves issues that the old WYSIWYG editor had and is more stable Get your users used to new editor early!
Works with any richtext box added including bbc code areas used by mods as well. Also includes a new justify bbc code as well. 

For more information on Message Editor Pro visit https://www.smfhacks.com/message-editor-pro.php

Existing active Community Suite license members can download the latest version of Message Editor Pro from the download forum for Message Editor Pro

15
News / Emoji Pro Released
« on: June 07, 2018, 08:12:34 am »
We have just released Emoji Pro a fun emoji system with over 1600 emoji's with groupings that can be added to your posts.
I had this system built for my free forum hosting services and decided it would be awesome to offer to other users on SMF as well.


How it works it adds a smiley/emoji icon in any place that there is an editor such as posting/personal messages etc. It works with both the text editor and the wysiwyg editor.  A cool part about this system it uses images for the emojis and works with any character set and has the same appearance for everyone.

For more information on Emoji Pro visit https://www.smfhacks.com/emojipro.php

Existing active Community Suite license members can download the latest version of Emoji Pro from the download forum for Emoji Pro

Pages: [1] 2 3 ... 16

+- Recent Topics

message editor pro by SMFHacks
Today at 06:19:38 pm

Turn off Download Stats? by SMFHacks
Today at 01:49:59 pm

multiple currencies bug by SMFHacks
October 14, 2018, 07:15:36 pm

KARMA Badge by SMFHacks
October 14, 2018, 11:19:42 am

Upgraded to pro - some features not working? by SMFHacks
October 14, 2018, 09:25:36 am

SMF lottery mod by SMFHacks
October 13, 2018, 08:02:41 am

Error after adding Russian translation by SMFHacks
October 08, 2018, 04:10:41 pm

Adseller Pro 3.0 Released! by SMFHacks
October 06, 2018, 05:45:42 pm

problems with my GDRP pro and my SMF forum. by SMFHacks
October 03, 2018, 03:42:57 pm

Ad doesn't align in forum posts by jamesdeignan
October 03, 2018, 08:12:50 am

Powered by EzPortal