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: 43294
Total Topics: 7523
Most Online Today: 124
Most Online Ever: 2482
(April 09, 2011, 07:02:45 pm)
Users Online
Members: 2
Guests: 106
Total: 108

Author Topic: Noob Question - SMF Gallery Pro From AeVA Media Manager  (Read 6295 times)

0 Members and 1 Guest are viewing this topic.

Offline OnlyMe

  • Member
  • *
  • Posts: 9
    • View Profile
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)
« Last Edit: June 02, 2016, 04:52:46 am by OnlyMe »

Offline OnlyMe

  • Member
  • *
  • Posts: 9
    • View Profile
Re: Noob Question - SMF Gallery Pro From AeVA Media Manager
« Reply #1 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

Offline tank_fv101

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • View Profile
    • N Gauge Forum
Re: Noob Question - SMF Gallery Pro From AeVA Media Manager
« Reply #2 on: June 02, 2016, 06:08:40 am »
And just for verification, I paid for the Gallery yesterday, but Paul is installing it for me.  ;)  Thanks!

Offline tank_fv101

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • View Profile
    • N Gauge Forum
Re: Noob Question - SMF Gallery Pro From AeVA Media Manager
« Reply #3 on: June 02, 2016, 09:17:11 am »
OK, forget all that, we've done that now.

We're having trouble with members permissions being able to view each others pictures.

Offline SMFHacks

  • Administrator
  • Hero Member
  • *****
  • Posts: 16451
    • View Profile
Re: Noob Question - SMF Gallery Pro From AeVA Media Manager
« Reply #4 on: June 02, 2016, 12:01:19 pm »
You would need to uninstall aeva media for that part. We do not change that function

We have an addon for the gallery for a post image upload function found at
http://www.smfhacks.com/index.php/topic,6365.0.html


For permissions check your membergroup permissions. For each membergroup. Make sure they can view image detail and view picture permissions.
Get your Forum Ranked! at https://www.forumrankings.net - find out how your forum compares with others!

Like What I do? Support me at https://www.patreon.com/vbgamer45/

Offline tank_fv101

  • Community Suite Customer
  • Jr. Member
  • ******
  • Posts: 77
    • View Profile
    • N Gauge Forum
Re: Noob Question - SMF Gallery Pro From AeVA Media Manager
« Reply #5 on: June 03, 2016, 06:45:29 am »
Thanks for that.  I'm about to PM you for some help, as it's not working.

 

Related Topics

  Subject / Started by Replies Last post
15 Replies
15814 Views
Last post November 10, 2010, 01:41:44 pm
by SMFHacks
38 Replies
30047 Views
Last post April 09, 2010, 08:27:43 pm
by bluedevil
3 Replies
3731 Views
Last post February 20, 2017, 05:46:07 pm
by SMFHacks
0 Replies
2731 Views
Last post August 12, 2020, 09:16:49 am
by CWVRV
8 Replies
6964 Views
Last post April 02, 2023, 11:09:54 am
by sudhakar

+- Recent Topics

Please Help! by fmofmpls
Today at 01:47:09 pm

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