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: 1
Guests: 249
Total: 250

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 - Green CoW

Pages: [1]
1
Site Discussion / So lost!!
« on: August 20, 2006, 04:49:07 pm »
Hi there guys/gurls!!

Well since I'm totally lost when I open a php file, I really would appriciate some help!
What I'm looking for is something like this, attachment size limit and on a per membergroup basis but for SMF 1.1 RC2!

I have nwswAdminAttachAnything installed... couldn't figure out how to configure that code  :'(

I tried to add this, but no luck there either  :(
Code: [Select]
Post.php, find:

Code:
if (!empty($modSettings['attachmentSizeLimit']) && $_FILES['attachment']['size'][$n] > $modSettings['attachmentSizeLimit'] * 1024)
Replace:

Code:
if ($board != 999 && !empty($modSettings['attachmentSizeLimit']) && $_FILES['attachment']['size'][$n] > $modSettings['attachmentSizeLimit'] * 1024)
Also find:

Code:
if (!empty($modSettings['attachmentPostLimit']) && $total_size > $modSettings['attachmentPostLimit'] * 1024)
Replace:

Code:
if ($board != 999 && !empty($modSettings['attachmentPostLimit']) && $total_size > $modSettings['attachmentPostLimit'] * 1024)
Replacing 999 with that board's id.

please can one of you "PHP guru's" guide me into right direction!!!

Thanks in advance....
GC

2
Bugs / User Email Bug??
« on: July 18, 2006, 04:43:22 pm »
Hi there!
well first off... Thanks for all the GREAT Mods!!!

Ok... to the problem..

Well I installed the User Email System today, and since I don't use the default theme I installed it manually (tho I suck in php)  ;D !
Everything works great except on tiny thing!

When I uncheck the "Send a copy of this e-mail to yourself" I get an error in the Forum Error Log.
Quote
8: Undefined index: sendcopy
File: httpd.www/forums/Sources/User_Email.php
Line: 64
If I have it checked no error appears!

Pages: [1]

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