Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4257
Latest: Alex998.
New This Month: 1
New This Week: 0
New Today: 0
Stats
Total Posts: 43295
Total Topics: 7523
Most Online Today: 344
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 230
Total: 230

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 [4] 5 6 ... 19
46
Feature Requests / Looking for ideas for next SMF Classifieds
« on: October 19, 2018, 04:41:48 pm »
Looking for ideas for SMF Classifieds next version.
Have the following done so far: Any suggestions or improvements let me know.


5.0
+Trader Rating Count now displayed on the view bids page
+Added paypal locale support to do customizations for international users. Under Admin -> Classifieds Configuration -> Payment Modules
!https picture links now supported in listings
!Allow classifieds admins the option to manage listing pictures/files if bids were made
!Update personal messages to not use urls as much and link to the members profile
+Seller information added on payment page if no paypal is displayed
+Added pay now link under MyBids section if your bid was accepted for the auction/listing
+Added on MyListing page listing status/current bid amount. Also the option to relist an item
!Place bid page now formats the greater than amount in the currency used for the listing

47
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

48
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.

49
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

50
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.

51
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.

52
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

53
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

54
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
-----------------

55
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

56
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 or fix HTTPS
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]

57
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. |

58
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>');
}





59
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

60
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

Pages: 1 2 3 [4] 5 6 ... 19

+- Recent Topics

Please Help! by SMFHacks
April 17, 2024, 08:04:55 am

Rate own images by fvlog19
April 11, 2024, 10:56:53 am

Tidy Child Boards on 2.1.4 by SMFHacks
April 04, 2024, 03:54:12 pm

Problems SMF 2.0.19 > 2.1.4 SMF Gallery Pro - Recents Images to overall header by Michel68
March 30, 2024, 12:41:08 pm

Can't DROP 'id_member'; check that column/key exists Datei: by SMFHacks
March 30, 2024, 11:58:20 am

No thumbnails on new uploads by Tonyvic
March 29, 2024, 06:26:18 am

Display the Contact Page for guests by SMFHacks
March 27, 2024, 10:55:43 am

is it possible to add support for odysee.com by fvlog19
March 21, 2024, 08:47:51 am

Request for admin notification by davejo
March 10, 2024, 01:31:59 am

I need help with torrent upload by Ineedsmfhelp
March 09, 2024, 10:01:13 pm

Powered by EzPortal