News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Download System

Started by SMFHacks.com Team, October 31, 2007, 06:55:37 PM

Previous topic - Next topic

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SoLoGHoST


shaitanfr

Hello,

I try the enhanced add on but in first step, install.php

I have this error:

Fatal error: Function name must be a string in /home/users4/s/shaitan/www/bug/install.php on line 40

SMF 1.1.8

SoLoGHoST

I don't believe this works for SMF 1.1.8, you should have SMF 2.0 RC1 installed.  I haven't tested this with 1.1.8.  Sorry :(


vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

shaitanfr

Hi Vbgamer45
Download Mod works well with SMF1.1.8, I have a problem to installing the enhanced add on. For now I'm stuck at step one
Install.php

Fatal error: Function name must be a string in /home/users4/s/shaitan/www/bug/install.php on line 40

vbgamer45

Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro


vbgamer45

New Update! Added an easy import tool from Tiny Portal Downloads!

1.2
+Added Tiny Portal Downloads Import Feature. Will import all downloads,categories,ratings from TP Downloads. Downloads Pro coming soon will also import the screenshots.


Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SoLoGHoST

shaitanfr - you can try the following install.php attached.

Please note, I haven't tested this for SMF 1.1.8, however, please let us know if it works for this version of SMF.  Make sure to do a backup of the files before overwriting them and a backup of the files that get edited as well.

Thanks :)

vbgamer45 - Feel free to use any or all of my AddOn features when you publish your next version.  Just ask that you include me, "SoLoGHoST" in there somewhere in with the credits and a link to the Graphics Mayhem site addy:  http://graphicsmayhem.com/GMForum/index.php and would also like to host it on Graphics Mayhem, if this is okay with you.

Please respond.  Thank You!

EDIT:  Attached File Removed.  Click on Enhanced Downloads Link on my Sig to get it for, both, SMF 1.1.x and SMF 2.0.x.

shaitanfr

Dea SoloGHoSt, you are the best.

I will try immediatly, I will using a test forum.

Quoteplease let us know if it works for this version of SMF.

Sure

Many Thanks  :)

shaitanfr

Tryed, now

Fatal error: Function name must be a string in /home/users4/s/shaitan/www/clone/install.php on line 41 

It was line 40 with the first version.

SoLoGHoST

Ok, I'm sorry, I don't believe 1.1.8 supports the use of $smcFunc[], I will look into this and see if I can get this compatible for 1.1.8.  brb

shaitanfr

Yes, i had take a look with Winmerge  $smcFunc[] is the problem.

for exemple, in Download Mod install for smf 1 and smf2, the différence:

Smf1.1.x

// File Ratings
db_query("CREATE TABLE IF NOT EXISTS {$db_prefix}down_rating
(ID int(11) NOT NULL auto_increment,
ID_FILE int(11) NOT NULL,
ID_MEMBER mediumint(8) unsigned NOT NULL default '0',
value tinyint(2) NOT NULL,
PRIMARY KEY  (ID))", __FILE__, __LINE__);


Smf 2

// File Ratings
$smcFunc['db_query']('', "CREATE TABLE IF NOT EXISTS {db_prefix}down_rating
(id int(11) NOT NULL auto_increment,
id_file int(11) NOT NULL,
id_member mediumint(8) unsigned NOT NULL default '0',
value tinyint(2) NOT NULL,
PRIMARY KEY  (ID))");


QuoteI will look into this and see if I can get this compatible for 1.1.8.

Python programers on my site hope your success. And me too. For us, your add-on is important.

(sorry my english is bad)

vbgamer45

That would do it. That's why I have two different sets of files in my download modification one for SMF 1.1.x and one for SMF 2.0.x
Community Suite for SMF - Take your forum to the next level built for SMF, Gallery,Store,Classifieds,Downloads,more!

SMFHacks.com -  Paid Modifications for SMF

Mods:
EzPortal - Portal System for SMF
SMF Gallery Pro
SMF Store SMF Classifieds Ad Seller Pro

SoLoGHoST

Thanks vbgamer45, will need to convert all files modified over to 1.1.8.  Am doing this now, so have a little patience with me shaitanfr.  Unless you want to upgrade to SMF 2.0 RC1 than no waiting necessary.  But, like I said, am working on this right now.

SoLoGHoST

Quote from: vbgamer45 on April 25, 2009, 05:23:29 PM
That would do it. That's why I have two different sets of files in my download modification one for SMF 1.1.x and one for SMF 2.0.x
Please note that you have .svn folders in your package, in the downloads folder.  You should get rid of these hidden folders, not necessary for your MOD to work.

shaitanfr

Quote from: SoLoGHoST on April 25, 2009, 05:26:45 PM
Thanks vbgamer45, will need to convert all files modified over to 1.1.8.  Am doing this now, so have a little patience with me shaitanfr.  Unless you want to upgrade to SMF 2.0 RC1 than no waiting necessary.  But, like I said, am working on this right now.

Yes, of course, I would be patient. It's really great that you want to make this conversion and I am very grateful to you. I can not go to SMF2 yet. l I need Tinyportal and I should wait until it is developed for SMF2..
Many people still use Smf1.1.x and I think I would not be the only one who will use your add on.  :)


SoLoGHoST

Ok, thanks, already converted the install.php file, but will need to convert Downloads.php and Downloads.template.php files as well.  Not sure on exactly what changes vbgamer45 made to the new version 2.0 and how that will effect this addon, tho, I am still working from the 1.1.5 version, so hopefully the AddOn will still work after installing vbgamer45's 2.0 update.

Tho, if we were working together on this, might be better  :-X

Advertisement: