Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:23 pm EST
Geeklog Forums
Installing Plugins - I'm just not getting it
Status: offline
HackDefendr
Forum User
Junior
Registered: 05/26/10
Posts: 19
Location:Atlanta, GA
For someone as tech savvy and me, admitting that I just don't get something is so damaging to my ego.
The plugin installation page just makes it worse for me as it isn't very clear where to copy some of the files...whether overwriting system files is required or whether editing system files is necessary.
I ran into the same problem Rob did with the SocialShare plugin, once I rename the extracted folder from SocialShare_v1.1 to just socialshare, the installation went fine, but the plugin still did not work and my site started spitting out errors due to files not found and permissions. I had to delete the folders and files and then delete the tables and rows manually from mysql to get my site back up.
Is there a preferred method for plugin installation?
What exactly is required for autoinstall to work? Is this really "auto"?
I would think that simply extracting the plugin archive under the public_html/admin/plugins folder would be enough, and geeklog would know what to do with all the files and put them where it needed them. After all, that is how most other CMS types do it, and even a stand-alone Coppermine gallery does this.
Pictures and Diagrams are great...but become useless without proper steps outlining what the diagram is trying to show.
Maybe I'm not as geeky as I thought I was... :doh:
--
Jeff
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
The plugin installation page just makes it worse for me as it isn't very clear where to copy some of the files...whether overwriting system files is required or whether editing system files is necessary.
I ran into the same problem Rob did with the SocialShare plugin, once I rename the extracted folder from SocialShare_v1.1 to just socialshare, the installation went fine, but the plugin still did not work and my site started spitting out errors due to files not found and permissions. I had to delete the folders and files and then delete the tables and rows manually from mysql to get my site back up.
Is there a preferred method for plugin installation?
What exactly is required for autoinstall to work? Is this really "auto"?
I would think that simply extracting the plugin archive under the public_html/admin/plugins folder would be enough, and geeklog would know what to do with all the files and put them where it needed them. After all, that is how most other CMS types do it, and even a stand-alone Coppermine gallery does this.
Pictures and Diagrams are great...but become useless without proper steps outlining what the diagram is trying to show.
Maybe I'm not as geeky as I thought I was... :doh:
--
Jeff
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
6
8
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
Hello Jeff,
Here is a standar manual instal for a plugin call myplugin
Automatic install is a great feature but do not work with every environment.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Here is a standar manual instal for a plugin call myplugin
1. Unpack the tarball in /path/to/geeklog/plugins/ (or unpack it on your PC and then upload the “myplugin” folder to that directory)
2. Rename the “admin” folder to “myplugin” and move it to /path/to/geeklog/public_html/admin/plugins/
2. Rename the “public_html” folder to “myplugin” and move it to /path/to/geeklog/public_html/
4. Log into your site as the Admin user, select “Plugins” from the “Admins only” block, find the “myplugin” entry and click on “install”
5. There's no step 5 - the plugin should be ready for use now.
2. Rename the “admin” folder to “myplugin” and move it to /path/to/geeklog/public_html/admin/plugins/
2. Rename the “public_html” folder to “myplugin” and move it to /path/to/geeklog/public_html/
4. Log into your site as the Admin user, select “Plugins” from the “Admins only” block, find the “myplugin” entry and click on “install”
5. There's no step 5 - the plugin should be ready for use now.
Automatic install is a great feature but do not work with every environment.
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
10
9
Quote
Status: offline
HackDefendr
Forum User
Junior
Registered: 05/26/10
Posts: 19
Location:Atlanta, GA
Wowzers
That was just about too easy. Plugin installed ... Thank-you cordiste!!
BUT
When I clicked on SocialShare from the Admin Only block...I was presented with this:
Line #378 of functions.inc:
Any thoughts?
Oh yea ... This is geeklog 1.7.0, semi-non-production.
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
That was just about too easy. Plugin installed ... Thank-you cordiste!!
BUT
When I clicked on SocialShare from the Admin Only block...I was presented with this:
Text Formatted Code
Fatal error: Call to a member function get_var() on a non-object in /var/www/localhost/geeklog/plugins/socialshare/functions.inc on line 378Line #378 of functions.inc:
Text Formatted Code
$story_id = $template->get_var('story_id');Any thoughts?
Oh yea ... This is geeklog 1.7.0, semi-non-production.
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
5
7
Quote
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: HackDefendr
The plugin installation page just makes it worse for me as it isn't very clear where to copy some of the files...whether overwriting system files is required or whether editing system files is necessary.f
Not sure if it helps, but there's a graphical overview of what goes where on the wiki.
Quote by: HackDefendr
Is there a preferred method for plugin installation?
What exactly is required for autoinstall to work? Is this really "auto"?f
The safest method is doing it manually.
The upload is more convenient - it safes you from having to move files around yourself. The downside is that it requires some support from the plugin, i.e. they have to be updated for it. You should be able to upload any plugin, even old ones. Whether it will fully install depends on the plugin. Updated plugins will fully install automatically. In some cases, you'll only have to click on "install" on the Plugin admin panel after the upload. And in some cases, plugins need additional files to be copied around or modified and you would have to do that manually after the upload.
Things are improving as plugins are updated. Plugins without current support will be stuck in a less convenient state, though.
bye, Dirk
10
10
Quote
Status: offline
HackDefendr
Forum User
Junior
Registered: 05/26/10
Posts: 19
Location:Atlanta, GA
Thanks Dirk
I got SocialShare installed successfully (sort of) .. but as you can see from my last post, when I click on the socialshare link under the "Admins Only" block, I get an error. Best guess, the var for 'story_id' has changed in 1.7.0 from what it was in v1.6.x and I should just be able to correct those var calls to make that function work correctly....I'm just guessing.
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
I got SocialShare installed successfully (sort of) .. but as you can see from my last post, when I click on the socialshare link under the "Admins Only" block, I get an error. Best guess, the var for 'story_id' has changed in 1.7.0 from what it was in v1.6.x and I should just be able to correct those var calls to make that function work correctly....I'm just guessing.
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
6
6
Quote
Status: offline
::Ben
Forum User
Full Member
Registered: 01/14/05
Posts: 1569
Location:la rochelle, France
I installed the SocialShare plugin 1.1 on geeklog 1.7.0.
Automatic install fail because the plugin folder in the archive is call socialshare_1.1 insteed socialshare. Renaming the plugin folders (plugins, admin, public_html) to socialshare solve the problem.
To see the admin page I commented the lines 378-382
if (!isset($A['sid'])) {
/*
$story_id = $template->get_var('story_id');
$title = $template->get_var('story_title');
$introtext = $template->get_var('story_introtext');
*/
} else {
$story_id = $A['sid'];
$title = $A['title'];
$introtext = $A['introtext'];
}
and the plugin seems to work...
I found also a missing div on purepro theme. So I added on line 410
::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
Automatic install fail because the plugin folder in the archive is call socialshare_1.1 insteed socialshare. Renaming the plugin folders (plugins, admin, public_html) to socialshare solve the problem.
To see the admin page I commented the lines 378-382
Text Formatted Code
if (!isset($A['sid'])) {
/*
$story_id = $template->get_var('story_id');
$title = $template->get_var('story_title');
$introtext = $template->get_var('story_introtext');
*/
} else {
$story_id = $A['sid'];
$title = $A['title'];
$introtext = $A['introtext'];
}
and the plugin seems to work...
I found also a missing div on purepro theme. So I added on line 410
Text Formatted Code
$html .= '</ul></div></div>';::Ben
I'm available to customise your themes or plugins for your Geeklog CMS
6
6
Quote
Status: offline
HackDefendr
Forum User
Junior
Registered: 05/26/10
Posts: 19
Location:Atlanta, GA
Excellent. I was on the right path.
I took out the whole IF statement and just left this:
$title = $A['title'];
$introtext = $A['introtext'];
Though my right-block with Admin Only menu ended up at the bottom of the SocialShare plugin page. Maybe that extra DIV you added will fix that.
And then I have to add the
To archivestorytext.thtml featuredstorytext.thtml and storytext.thtml
...
<div class="story-body">
{story_anchortag_and_image}{story_text_no_br}
</div><center>{socialshareicons}</center>
...
That should do it. I think I got it now ... but wanted to Thank both of you for chiming in. I may not have it fully yet, but at least I know where to go for answers.
UPDATE: That extra </div> correctly put my right block where is should be...Thanks Cordiste! :chestslam:
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
I took out the whole IF statement and just left this:
Text Formatted Code
$story_id = $A['sid'];$title = $A['title'];
$introtext = $A['introtext'];
Though my right-block with Admin Only menu ended up at the bottom of the SocialShare plugin page. Maybe that extra DIV you added will fix that.
And then I have to add the
Text Formatted Code
<center>{socialshareicons}</center>To archivestorytext.thtml featuredstorytext.thtml and storytext.thtml
Text Formatted Code
...
<div class="story-body">
{story_anchortag_and_image}{story_text_no_br}
</div><center>{socialshareicons}</center>
...
That should do it. I think I got it now ... but wanted to Thank both of you for chiming in. I may not have it fully yet, but at least I know where to go for answers.
UPDATE: That extra </div> correctly put my right block where is should be...Thanks Cordiste! :chestslam:
--
J. Singleton, BS Information Security
HackDefendr Security
Cyber Security, Vulnerability, & Social Behavior Research
9
9
Quote
All times are EST. The time is now 10:23 pm.
- Normal Topic
- Sticky Topic
- Locked Topic
- New Post
- Sticky Topic W/ New Post
- Locked Topic W/ New Post
- View Anonymous Posts
- Able to post
- Filtered HTML Allowed
- Censored Content