Facebook  Twitter 

SMFHacks.com

+-

SMFHacks.com

+- User Information

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

+- Forum Stats

Members
Total Members: 11834
Latest: Volker S
New This Month: 1
New This Week: 1
New Today: 0
Stats
Total Posts: 42319
Total Topics: 7381
Most Online Today: 40
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 31
Total: 31

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

Pages: [1] 2 3 ... 13
1
Code: [Select]
Guest 14 minutes ago
https://myurl.com/index.php?action=login2;sa=check;member=1004XXX
You were unable to login. Please check your cookie settings

Hello, I keep getting these errors, but I don't know how to replicate them. Could you explain what's causing this error, and how sa=check is activated?

Since the last I deleted my error messages around 3, I've gotten 3 pages worth of these errors for different member IDs.

2
Support / Changes to PayPal Recently
« on: December 05, 2020, 10:20:23 pm »
Recently, when people checkout via PayPal, it doesn't activate the group membership (since last week actually).

Have there been any prominent changes from PayPal that need updating here?

3
For example,

Let's say I have a personal gallery associated with my account, and I have one category made with 10 pictures uploaded.

If I delete my account, are the picture records that point to the personal category updated as well?

The reason why that's important is because if the pictures don't get deleted in the deletion process, how will other users be able to see those pictures indexed if the personal category doesn't exist any more?

4
Support / Ideas
« on: September 30, 2019, 10:06:42 pm »
I know that when a document is uploaded, such as .doc, the mod stores the file without the file extension. I am looking to implement a document reader, such as google docs to display the file as a preview. It is done by using an iframe:

Code: [Select]
<iframe src="https://docs.google.com/gview?url=https://WEBSITE-URL.com/to/doc/file.doc&embedded=true"></iframe>
So for this to work, I need to use: https://WEBSITE-URL.com/downloads/'.$context['downloads_file']['filename'].' BUT, $context['downloads_file']['filename'] excludes the file's actual extension type. Even if I add the extension, such as .doc to the end of the string, it will not work because obviously the file stored is extension-less.

What ideas do you have that can help me overcome this issue? Of course, I could always create a temporary file in another folder with the extension, but when files get too big, it'd slow down the server.

5
Support / Can the old store mod work on SMF 2.1?
« on: February 13, 2019, 08:49:44 pm »
Curious what would happen if I installed the old store on 2.1

6
Support / Adding Logo to Purchase Page
« on: October 23, 2018, 11:56:46 pm »
I remember there used to be a way to add your logo rather than email address as the header for the PayPal purchase page. It was done by adding a code to the <input parts.

Could you remind me how it's done?

7
General SMF Forum / Adding argument into db_query
« on: September 05, 2018, 04:45:32 pm »
How do I add:

Code: [Select]
".isset($password) && !empty($password) ? ',password='" . $password . "':''."
into

Code: [Select]
db_query("INSERT INTO {$db_prefix}oneall_social_login_identities SET ID_MEMBER='" . intval($id_member) . "', user_token='" . $user_token . "', identity_token='" . $identity_token . "'", __FILE__, __LINE__);
After the identity_token='" . $identity_token . "' part?

8
Support / Guest Voting
« on: September 05, 2018, 10:00:25 am »
I'd like to use the sessions table to allow guest voting.

In SMF, how do you create a session and how do you customize it to include information about the picture, your IP address, etc.

How does SMF record sessions into the database, what file controls that?

9
General SMF Forum / SCEditor implementation question
« on: August 31, 2018, 02:21:12 am »
How did you get around quoting posts in the quick reply. I can't seem to link the two together :-\

10
Support / Can the Store produce a unique code that you can sell?
« on: August 11, 2018, 11:34:47 am »
I'd like the ability to sell a unique code, i.e. 7sd7;dsh@yu1 that the end user can use in various places in the website, does the store currently have this capability?

11
General SMF Forum / Recording apostrophes into tables
« on: August 08, 2018, 04:27:44 pm »
Is it fine to record data containing apostrophe characters rather than their HTML codes?

12
General SMF Forum / htaccess redirect question
« on: July 25, 2018, 01:47:29 pm »
I'd like to redirect all my topics (only) to another url. I tried the following, but it didn't work

RewriteEngine On
RewriteRule ^/?topic/([^/d]+)/?$ https://NEWURL.com/index.php?topic=$1 [R=301,L]

13
General SMF Forum / SQL Query Slow (Suggestions)
« on: July 09, 2018, 11:58:04 am »
I posted this on the main SMF forum, but didn't get a favorable response. Was hoping to get SMFHack's expertise.

Code: [Select]
SELECT
mso.subject AS first_subject, ml.ID_MSG, mso.ID_MSG AS id_msg_first, ml.posterTime AS first_poster_time, t.ID_TOPIC, t.ID_BOARD, b.name AS bname,
t.numReplies, t.numViews, t.ID_MEMBER_STARTED AS id_first_member, ml.ID_MEMBER AS id_last_member,
ml.posterTime AS last_poster_time, mso.posterName AS first_poster_name,
IFNULL(meml.realName, ml.posterName) AS last_poster_name, ml.subject AS last_subject,
ml.icon AS last_icon, mso.icon AS first_icon,t.ID_POLL, t.isSticky, t.locked, ml.modifiedTime AS last_modified_time,
CASE WHEN IFNULL(lt.ID_MSG, IFNULL(lmr.ID_MSG, 0)) < t.ID_LAST_MSG THEN 1 ELSE 0 END AS is_new, SUBSTRING(ml.body, 1, 385) AS last_body,
SUBSTRING(mso.body, 1, 385) AS first_body, ml.smileysEnabled AS last_smileys, mso.smileysEnabled AS first_smileys, t.ID_FIRST_MSG, t.ID_LAST_MSG
FROM smf_topics AS t
INNER JOIN smf_messages AS ml ON (ml.ID_MSG = t.ID_LAST_MSG)
INNER JOIN smf_messages AS mso ON (mso.ID_MSG = t.ID_FIRST_MSG)
LEFT JOIN smf_boards AS b ON (b.ID_BOARD = ml.ID_BOARD)
LEFT JOIN smf_members AS meml ON (meml.ID_MEMBER = ml.ID_MEMBER)
LEFT JOIN smf_log_topics AS lt ON (lt.ID_TOPIC = ml.ID_TOPIC AND lt.ID_MEMBER = 6)
LEFT JOIN smf_log_mark_read AS lmr ON (lmr.ID_BOARD = t.ID_BOARD AND lmr.ID_MEMBER = 6)
WHERE t.ID_BOARD IN (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 17, 20, 21, 22, 23, 24, 25, 33, 34, 35, 38, 41, 43, 48, 49, 50, 55, 59, 61, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 95, 96, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117)
AND t.ID_LAST_MSG >= 4708323 AND ml.posterTime > unix_timestamp(now() - interval 14 day)
ORDER BY t.ID_LAST_MSG DESC
LIMIT 0, 40

Sometimes takes a minute to load, what gives?

14
General SMF Forum / Knowledge base mod
« on: June 27, 2018, 07:03:00 pm »
Would you happen to have a knowledge base mod or something similar?

Looking for something like this: http://demo.enigmaweb.com.au/knowledgebase/

15
Support / Should I be concerned?
« on: June 15, 2018, 09:52:31 pm »
Got many of these links in my error log:

https://biology-forums.com/index.php?action=downloads;sa=view;down=9931\&quot;%20or%20(1,2)=(select*from(select%20name_const(CHAR(111,108,111,108,111,115,104,101,114),1),name_const(CHAR(111,108,111,108,111,115,104,101,114),1))a)%20--%20\&quot;x\&quot;=\&quot;x

https://biology-forums.com/index.php?action=downloads;sa=view;down=9931\%27%20or%20(1,2)=(select*from(select%20name_const(CHAR(111,108,111,108,111,115,104,101,114),1),name_const(CHAR(111,108,111,108,111,115,104,101,114),1))a)%20--%20\%27x\%27=\%27x

https://biology-forums.com/index.php?action=downloads;sa=view;down=9931%20or%20(1,2)=(select*from(select%20name_const(CHAR(111,108,111,108,111,115,104,101,114),1),name_const(CHAR(111,108,111,108,111,115,104,101,114),1))a)%20--%20and%201=1



Thanks

Pages: [1] 2 3 ... 13

+- Recent Topics

Profile Gallery Link by Hatshepsut
July 04, 2022, 11:00:01 pm

Trying to access array offset on value of type null by SMFHacks
July 04, 2022, 08:14:20 pm

Pictures appearing in post by SMFHacks
July 04, 2022, 12:56:40 pm

Error When Uploading Gifs To Subcategories by SMFHacks
July 03, 2022, 05:50:19 pm

SMF forum by davejo
June 27, 2022, 01:16:25 am

Quick-moderation checkboxes by davejo
June 22, 2022, 09:27:24 am

Add option to Main Menu bar by Shades
June 21, 2022, 12:23:00 am

Logo and Category? by SMFHacks
June 12, 2022, 03:43:31 pm

prettyurls - TroubleShooting.wiki by GhostHunting
June 12, 2022, 02:52:57 pm

[Mod]Modification Update Version Checker by SMFHacks
June 06, 2022, 09:25:39 pm

Powered by EzPortal