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: 202
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 0
Guests: 176
Total: 176

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

Pages: [1]
1
Support / Re: SMF Gallery Pro Impor tIssues
« on: June 22, 2016, 03:38:35 am »
hi there, when I looked at the DB, a lot of posts that may have had text in as well as pictures now seem to have been replaced with

[smg id=XXXXX type=box]

This worries me greatly as we were trying to move away from SMG ....

2
Support / Re: SMF Gallery Pro Impor tIssues
« on: June 20, 2016, 10:15:44 am »
it doesnt do any of them at all, the syntax in the db body is exactly this :-

[smg id=XXXXXX

no spaces..

I did try taking out the space from the search in your script but it bombed just the same.
I'll drop you a pm.

3
Support / Re: SMF Gallery Pro Impor tIssues
« on: June 20, 2016, 04:25:16 am »
the database doesn't like these calls you make in your script :-

mysql_free_result($request);


I think you need to login and test your code maybe as I havent written it its too difficult to debug especially now you canged the script from the one I debugged earlier.

Cheers Paul

4
Support / Re: SMF Gallery Pro Impor tIssues
« on: June 20, 2016, 03:58:32 am »
unfortunately it now fails at line 34, I put error reporting back in to see what causes it...

Notice: Undefined index: action in /www/sites/b83/37d/www.ngaugeforum.co.uk/web/SMFN/aveafixposts.php on line 34


mysql_select_db($db_name, $db_connection);
    $action = $_REQUEST['action'];                      <<---------------- LINE 34
    if (empty($action))
        $action = 'import2';

Please advise, also is there any way to be able to upload PDF documents to the gallery please?

5
Support / Re: SMF Gallery Pro Impor tIssues
« on: June 17, 2016, 09:22:05 am »
dont think I have the rights to download the file unfortunately :D

6
Support / Re: SMF Gallery Pro Impor tIssues
« on: June 17, 2016, 06:45:37 am »
running it through php debug gives the following errors and I've listed the code at those lines from your php avea code:-

Warning: mysql_fetch_row() expects parameter 1 to be resource, boolean given in "SITENAME&PHPFILE"  on line 56
list($totalProcess) = mysql_Fetch_row($request);

Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in "SITENAME&PHPFILE" on line 57
mysql_free_result($request);

Warning: mysql_fetch_assoc() expects parameter 1 to be resource, boolean given in "SITENAME&PHPFILE"  on line 72
while ($row = mysql_fetch_assoc($request))

Warning: mysql_free_result() expects parameter 1 to be resource, boolean given in "SITENAME&PHPFILE"  on line 110
mysql_free_result($request);

*"SITENAME&PHPFILE"  = is replacing the full site path etc when pasting to an open forum*

7
Support / SMF Gallery Pro Impor tIssues
« on: June 17, 2016, 03:45:46 am »
Hi there.

We recently purchased SMF Gallery pro for our forum (n gauge forum), you have logged in a few times and fixed some minor issues with the integration, however we still have the issue where the table in the db smf_messages has links to the old AEVA gallery system.  You sent us a script (aevafixposts) to run that should have replaced all the old "[SMD ID = xXXX]" code with links to the new gallery, but it fails when it runs, the counting part of the script works ok where it works its way through the posts but the database manipulation fails.  Could you contact myself of TANK to discuss how we move it forwards please.  I wonder if the script issues are the way it calls the database commands which is what seems to fail.

I think the problem stems from line 50 onwards maybe this command isnt running :- list($totalProcess) = mysql_Fetch_row($request);

Cheers Paul.

8
Support / Re: Noob Question - SMF Gallery Pro From AeVA Media Manager
« on: June 02, 2016, 05:27:35 am »
Ok so I found the right place, however my code is wrong...

So I edit the editor.js file from the default scripts directory:-

Here is the old aeva commands for the button I wanted to change

// Launch Aeva Media.
//smc_Editor.prototype.smg_add = function()
//{
//   reqWin(smf_prepareScriptUrl(smf_scripturl) + 'action=media;sa=post;noh=' + (this.opt ? this.opt.sUniqueId : this.sUniqueId), Math.min(1000, self.screen.availWidth-50), Math.min(700, self.screen.availHeight-50), false);
//
//   return true;
//}

My modification is like this, however it just takes me to the gallery so I guess my coding is off!!.

// Launch Gallery Media.
smc_Editor.prototype.smg_add = function()
{
   reqWin(smf_prepareScriptUrl(smf_scripturl) + 'action=gallery;sa=post;noh=' + (this.opt ? this.opt.sUniqueId : this.sUniqueId), Math.min(1000, self.screen.availWidth-50), Math.min(700, self.screen.availHeight-50), false);

   return true;
}

What would I need to change in order to take a user to a place where they can upload a photo and it then link back to the post with the correct bb code?

Thanks Paul

9
Support / Noob Question - SMF Gallery Pro From AeVA Media Manager
« on: June 02, 2016, 04:08:38 am »
Hi there, bit of an SMF noob here...

We successfully installed SMF Gallery pro on our host, it was using Aeva media before, we imported the images successfully and retagged all the posts using the extra scripts I found in the forum pages, however when users reply to a post or start a topic the "insert picture to forum" icon is still in the top bar under the (I italic text icon), however when it's clicked it is still trying to use AVEA media which has been disabled.  I thought I read that the SMF galley pro should change this link on install?  Would I be right in thinking the wrong script the  is calling is hidden somewhere in the forums index.default.template file?

(http://www.ngaugeforum.co.uk/SMFN/index.php?action=media;sa=post;noh=message) <---- Thats the link its trying to use at present

I'm thinking it should be :- http://www.ngaugeforum.co.uk/SMFN/index.php?action=gallery;sa=post;noh=message)

but am not sure what file needs changing to fix it.

Could someone point me in the right direction for fixing this issue please?

Kind Regards Paul
(www.ngaugeforum.co.uk)

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