Support Forum

Advanced Search
Forum Scope


Match



Forum Options



Minimum search word length is 3 characters - maximum search word length is 84 characters
plugins-topic
Image and file uploader not working
Avatar
tomerus
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2013 - 2:27 am

Hi Simple press

 

Just installed the image & file uploader but it`s not working. I can activate the plugin, I can add a picture but it won`t upload!!! I checked all the file permissions etc. Also disabled all other plugins and checked permissions. Kind of lost here. When I hover over the "upload" button I get a "using: runtimehtml5" message.

Saw some posts on Jquery but I`m realy a newbie and not technical. Can you please help 

 

 

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 13, 2013 - 3:52 am

If by 'wont upload' you mean literally nothing happens when you click on the button, then yes - you most probably have a JavaScript conflict - your wp theme or another plugin - which needs to be fixed. This codex article explains what this means and what to look for:

http://codex.simple-press.com/.....-conflict/

We can confirm that by just looking at the html source but would need a link.

andy-signature.png
YELLOW
SWORDFISH
Avatar
tomerus
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2013 - 3:56 am

http://www.gamedogshistory.com/forum

Thank you!

ps Using the Pagelines Pro edition theme. Again I have no knowledge in coding :-(

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 13, 2013 - 4:31 am

As predicted your theme is loading jQuery from the google CDN and - just to make it worse - is loading what is now an old, out of date copy.
This is an easy edit to make once the location in the theme files has been found. It is almost certainly being loaded in the themes functions.php file where you will find some lines of code loading scripts. See if you can locatwe that block of code and paste it here and we can tell you what needs to be changed.

Is your forum page supposed to look like this by the way? It is unreadable at the moment...

andy-signature.png
YELLOW
SWORDFISH
Avatar
tomerus
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2013 - 4:42 am

Thank you! Don`t know why my page is loading all distorted..

Will try to find the code in my theme. Thank you!!

Avatar
tomerus
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2013 - 5:06 am

Here is the content of my functions.php file ...

------------------------------------------------------------------------------------------------------------

<?php
// Setup -- Probably want to keep this stuff...

/**
* Hello and welcome to Base! First, lets load the PageLines core so we have access to the functions
*/
require_once( dirname(__FILE__) . '/setup.php' );

// For advanced customization tips & code see advanced file.
//--> require_once(STYLESHEETPATH . "/advanced.php");

// ====================================================
// = YOUR FUNCTIONS - Where you should add your code =
// ====================================================

// ABOUT HOOKS --------//
// Hooks are a way to easily add custom functions and content to PageLines. There are hooks placed strategically throughout the theme
// so that you insert code and content with ease.

// ABOUT FILTERS ----------//

// Filters allow data modification on-the-fly. Which means you can change something after it was read and compiled from the database,
// but before it is shown to your visitor. Or, you can modify something a visitor sent to your database, before it is actually written there.

// FILTERS EXAMPLE ---------//

// The following filter will add the font Ubuntu into the font array $thefoundry.
// This makes the font available to the framework and the user via the admin panel.

 

---------------------------------------------------------------------------------------------------------

Is this what you need?

Thanx

Avatar
Yellow Swordfish
Glinton, England
SP Master
sp_UserOfflineSmall Offline
Feb 13, 2013 - 5:34 am

is that it? Disappointing if it is as that IS where it should be and no - it isn't.

So if not in there the chances are - I would hope - that there is another php file that is set up for parameters and script loading etc. You need to look for functions that start with wp_deregister_script(), wp_register_script() and wp_enqueue_script()...

andy-signature.png
YELLOW
SWORDFISH
Avatar
tomerus
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2013 - 6:35 am

can`t realy find it.. although I do have the possibility to add code directly in my theme options.. and in the header

see attachment

 

 

Avatar
tomerus
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2013 - 6:43 am

ps I can also add scripts in the footer

Update: I saw that pagelines offers a customize plugin for the functions.php.. now this is the new functions php file they give you to edit. Do I need to add code in here?

---------------------------------------------------------------------------------------------------------------------------------------------------

<?php
/**
* PageLines Customize functions.php.
*
* @author Simon Prosser
*/
/*
// ---- ADDING NEW TEMPLATES ---- //

Want another page template for drag and drop? Easy :)
1. Add File called page.[page-id].php to this folder.
2. Add Template Name: Your Page Name to that file ( see page.base.php for an example. )
3. Thats it! We do the rest for you!

// ---- ADDING NEW SECTIONS ---- //

Adding new sections is really easy in 2.0
1. Copy your section.[sectionname].php file into the sections folder
2. It will be auto loaded for you.
3. You can now enable/disable the section in the extensions menu.

// FILTERS EXAMPLE ---------//

// The following filter will add the font Ubuntu into the font array $thefoundry.
// This makes the font available to the framework and the user via the admin panel.
*/
add_filter ( 'pagelines_foundry', 'my_google_font' );

function my_google_font( $thefoundry ) {
$myfont = array( 'Ubuntu' => array(
'name' => 'Ubuntu',
'family' => '"Ubuntu", arial, serif',
'web_safe' => true,
'google' => true,
'monospace' => false
)
);
return array_merge( $thefoundry, $myfont );
}
/*
// ====================================================
// = YOUR FUNCTIONS - Where you should add your code =
// ====================================================
*/

 

Avatar
tomerus
Member
Free Members
sp_UserOfflineSmall Offline
Feb 13, 2013 - 9:16 am

Anyone please?

 

ps. I just asked the question on the Pgalines forum and they say that pagelines absolutely DOES NOT load any extensional libraries and they think its a plugin doing it. But again when I deactivate all other plugins it still won`t work

Forum Timezone: Europe/Stockholm
Most Users Ever Online: 1170
Currently Online:
Guest(s) 1
Currently Browsing this Page:
1 Guest(s)
Top Posters:
Mr Papa: 19448
Ike: 2086
Brandon: 864
kvr28: 804
jim: 650
FidoSysop: 577
Conrad_Farlow: 531
fiddlerman: 358
Stefano Prete: 325
Member Stats:
Guest Posters: 619
Members: 17363
Moderators: 0
Admins: 4
Forum Stats:
Groups: 7
Forums: 17
Topics: 10127
Posts: 79625