Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 4255
Latest: andreios
New This Month: 3
New This Week: 1
New Today: 0
Stats
Total Posts: 43259
Total Topics: 7518
Most Online Today: 177
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 185
Total: 185

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.


Messages - nend

Pages: [1]
1
Support / Re: Error 500 in index.php?action=gallery;sa=add2
« on: April 28, 2017, 01:31:50 pm »
My guess is it is server side processing of some sort. I haven't looked at the gallery modification but probably thumbnail generation as I doubt reading the headers for any data will take any substantial amount of memory.

That is a guess though, the 500 error could of happened for a number a reasons and the error message would help out greatly in figuring out the problem.  ;)

2
Maybe something like
Code: [Select]
RewriteRule ^index.php?action=someaction ./index.php?action=someaction2[L,QSA]

3
Modifications Talk / Re: PayPal Payouts
« on: April 23, 2016, 09:08:30 pm »
Hmm,

I was looking at this one right under it, looks like there is a survey involved too. The site I wanted to implement this on isn't too busy, so I might do it manually.

https://developer.paypal.com/docs/integration/direct/payouts-overview/

They want a upgrade to a business account though. I updated my PayPal account before to a business and my bank wouldn't allow transfers to them because PayPal insisted that they had to use my business name.

I'll have to look into if they allow more than one PayPal account, that may be a option too.

4
Modifications Talk / Re: PayPal Payouts
« on: April 23, 2016, 07:17:53 pm »
Sending money to a user.

5
Modifications Talk / PayPal Payouts
« on: April 23, 2016, 07:45:53 am »
HI VB,

I know you have experience using the PayPal API. I was wondering if you could give me a crash course or some information on the payout API.

I have been making my point payout system and am planning on using this API to do the payment part.

Thanks,

6
Modifications Talk / How to add button for modsettings?
« on: February 29, 2016, 07:36:47 am »
Ok,

Since I merged the changes into the unfinished version of Open Embed 0.5 for approval at SMF they are now requesting that the button for the admin panel to be visible.

Now I have to complete the code since the admin panel portion isn't completed yet. I am still unsure of the route I am going to go with it also. Will have to finish that up today.

My question,
I can't find any integration hook to hook into to add the button to the modsettings admin panel. I do see where a manual edit is possible. Is there any way to do it without a source code edit or is that the only way?

7
Latest Mods / [Mod]Open Embed 0.5
« on: February 28, 2016, 10:26:44 pm »
Open Embed 0.5



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

Open Embed is a BBCode that works with Open Graph and Meta information to embed media, such as videos or music, and site descriptions into your website post.

Instead of installing various mods to embed content from a web site you can embed content with this mod from any site that supports it with one simple BBC tag.

Code: [Select]
[embed]http://url.of.site/you/want/to/embed[/embed]
By placing the URL from the address bar in between the [embed][/embed] tags, this mod pulls Open Graph and Meta information shared freely from the site owner for display on your forum. By doing this your displaying the content the way the site author intended.

This mod caches the data in the database with a short TTL of only 30 days. This mod also uses the cache system with a TTL of 30 minutes.

Popular Supported Sites [Tested]
- Facebook
- MetaCafe
- YouTube
- Vimeo
- Vine

The sites that supply information for sharing their content are many. This is just a short list of sites that have been tested so far.

Requirements
PHP 5.2 or greater

8
Latest Mods / [Mod]Open Embed 0.5
« on: February 08, 2016, 07:40:25 am »
Open Embed 0.5



http://www.smfhacks.com/index.php?action=downloads;sa=view;down=184Open Embed is a BBCode that works with Open Graph and Meta information to embed media, such as videos or music, and site descriptions into your website post.

Instead of installing various mods to embed content from a web site you can embed content with this mod from any site that supports it with one simple BBC tag.

Code: [Select]
[embed]http://url.of.site/you/want/to/embed[/embed]

By placing the URL from the address bar in between the [embed][/embed] tags, this mod pulls Open Graph and Meta information shared freely from the site owner for display on your forum. By doing this your displaying the content the way the site author intended.

This mod caches the data in the database with a short TTL of only 30 days. This mod also uses the cache system with a TTL of 30 minutes.

Popular Supported Sites [Tested]
- Facebook
- MetaCafe
- YouTube
- Vimeo
- Vine

The sites that supply information for sharing their content are many. This is just a short list of sites that have been tested so far.

Requirements
PHP 5.2 or greater

9
Modifications Talk / Re: Open Embed 0.4
« on: February 04, 2016, 09:50:05 pm »
I submitted the mod however when I edited it in the downloads it became unapproved.

10
Latest Mods / [Mod]Open Embed
« on: February 03, 2016, 07:50:45 pm »
Open Embed

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

Open Embed is a BBCode that works with Open Graph and Meta information to embed media, such as videos or music, and site descriptions into your website post.

Instead of installing various mods to embed content from a web site you can embed content with this mod from any site that supports it with one simple BBC tag.

Code: [Select]
[embed]http://url.of.site/you/want/to/embed[/embed]
By placing the URL from the address bar in between the [embed][/embed] tags, this mod pulls Open Graph and Meta information shared freely from the site owner for display on your forum. By doing this your displaying the content the way the site author intended.

This mod caches the data in the database with a short TTL of only 30 days. This mod also uses the cache system with a TTL of 30 minutes.

Popular Supported Sites [Tested]
- Facebook
- MetaCafe
- YouTube
- Vimeo
- Vine

The sites that supply information for sharing their content are many. This is just a short list of sites that have been tested so far.

Requirements
PHP 5 or greater

Changelog:
0.1

- Initial pre-release

0.2
! Moved cache_put for a successful database call to the if statement for max-age to prevent stale data from being cached.
+ Added support for HTML 5 video and audio.
+ Added fallback support for text/html video to iframe.
! Moved $data = array() to else statement.
- Removed HTML 5 video support as it isn't fully supported.
+ Added some more meta phasing for og:video:url
+ Added code to disregard text/html video.
+ Added scheduled task to purge old data.
- Remove update support from main function.
! Renamed modification to Open Embed.
! Fixed errors with xpath when property isn't found.

0.3
+ Added some support to remove autoplay from url string.
+ Added oEmbed JSON support. (Only in a iframe via JavaScript as any other option isn't wise)
! Updated install with Margaretts suggestions.
! Changed video support from iframe to embed
+ Added useragent string. (Some sites are back in the 00s, browser discrimination it's called.)
+ Other stuff I may have forgotten...

0.4
- Removed JavaScript iFrame for oEmbed as it wasn't always working right and may be insecure.
+ Added a allowed list of trusted sites mainly for oEmbed.
! Fixed bug in oEmbed with initial json_decode as it wasn't set to be returned as a array.

11
Modifications Talk / Re: Open Embed 0.4
« on: February 02, 2016, 12:10:06 am »
I will go ahead and do that with 0.4.

I am thinking the JavaScript may be vulnerable in 0.3 also with oEmbed. That standard is so flawed but Facebook and so many others use it.

I am thinking it would be easier either doing a allowed list than try to do some half baked protection.

12
Modifications Talk / Open Embed 0.4
« on: February 01, 2016, 11:44:48 pm »
Hi,

Still waiting @ SM for my mod to get approved, however I have been working on 0.4. Fixing some bugs in the oEmbed standard that Facebook and many others used.

In 0.4 I added a standard that has been established by Twitter and also fixing the oEmbed implementation I hope.

I figured out the issues that where going on that where causing some problems with 0.3. However while doing this I introduced a security vulnerability I need help getting rid of in the unreleased 0.4.

Only way I could figure out is hosting it on a different server, however that isn't viable for most forum operators.

In 0.3 JavaScript was used to add the code to the iframe so it wouldn't affect the page, however I had problems escaping the data for the JavaScript which was the main bug in the 0.3 version.

0.3 Supports Open Graph and Meta information standards as well as a buggy oEmbed implementation.

13
General SMF Forum / Re: Caching query problem
« on: October 30, 2015, 11:13:23 pm »
Looks OK to me,

First problem, your only caching for 90 seconds, which is useless IMHO if your going to be caching that data.

Second you don't have to check if the cache is enabled, SMF handles that in the cache function.

Third, not everything needs to be cached, simple queries that don't strain your database server should not be cached. Think about it this way, anything that is cached resides in the systems memory. While memory is faster than physical storage, you still have less of it, so pick wisely on what you want to keep in there. If it is easy for the DB server to handle then let it handle it, if not then load it into memory, it is a balancing act. ;)

14
General SMF Forum / Re: Re number members
« on: October 30, 2015, 10:57:37 pm »
What you would have to do is disable registration and posting, probably go into maintenance mode. Delete all the bogus user accounts and post and reset the auto increment so the database would start off with a lower number.

I am on edge about this also, I just beefed up one of my sites security and disabled one that I knew was working but made it difficult for new signups. I may have to reset my auto increment.

Pages: [1]

+- Recent Topics

No thumbnails on new uploads by SMFHacks
March 27, 2024, 02:10:41 pm

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

an idea for new mod (( content type with different display )) by SMFHacks
February 27, 2024, 01:36:27 pm

[Mod] RSS Feed Poster by SMFHacks
February 27, 2024, 11:57:18 am

find duplicate pictures by fvlog19
February 14, 2024, 02:22:40 pm

Error uploading video. by SMFHacks
February 08, 2024, 02:04:16 pm

Gallery icon as last added image by fvlog19
February 01, 2024, 01:04:56 pm

Powered by EzPortal