Our Sponsors



PHP Nuke themes, stock photos, icons, drupal themes and more.
Custom jobs at low cost, free lancers and service buyers.



Western Studios :: View topic - Could some one upload/post 4images 1.7.1 already integrated?
Need Jobs done? Use our brand new Jobs Board to get your projects done at affordable prices.
 Forum FAQForum FAQ   SearchSearch   UsergroupsUsergroups     ProfileProfile   Log inLog in 


Could some one upload/post 4images 1.7.1 already integrated?


Goto page 1, 2, 3  Next
 
Post new topic   Reply to topicprinter friendly version    Western Studios Forum Index -> 4 Images
Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 15
Next Group: 35 posts
win2kpro wrote:

Hi,

Could some one upload an already integrated and edited version of 4images 1.7.1?

I've been trying to edit and modify my current 1.7.1 to work as nuke module, but I'm facing errors... error after error.

Everything went fine.

Untill I have had to do this step:

Code:
Step 2:  Editing the php files and inserting NUKE_PATH
 
This will be the longest step but will be well worth the effort in the end.
I will give you the idea with a few files and then you can edit the rest from there.
 
Start by opening  /includes/functions.php
 
Use the find function in whatever utility you are in and search for  .php   
 
The first instance of something we have to edit will be on line 185
 
You will see the following code within that line:
 
(ROOT_PATH."search.php?search_keywords=".urlencode($val)
 
Now if the script were to call that line it would not call the script in the correct manner.  So we edit this using our variable we defined:  NUKE_PATH
 
(NUKE_PATH."search&search_keywords=".urlencode($val)
 
As you can see I simply replaced ROOT_PATH with NUKE_PATH and replaced .php? with an &  .  Now when this link is called within a nuke environment it will produce the desired results.
 
Only edit .php links that will eventually be links in the script.  In other words do not edit a link that will point to   /admin/index.php   or any  include
 
For example in all these scripts there will be the following at the top:
 
include(ROOT_PATH.'global.php');
require(ROOT_PATH.'includes/sessions.php');
$user_access = get_permission();
include(ROOT_PATH.'includes/page_header.php');
 
Do not edit these.  These are not links but are pointing to files to include within that file.
 
There may be some trial and error and here, just don’t give up.
 
Here are the files you will have to edit:
 
includes/functions.php
includes/page_header.php
includes/sessions.php
categories.php
details.php
login.php
lightbox.php
logout.php
member.php
postcards.php
register.php
search.php
top.php



So, could some one please give me these files updated?
Could some one please upload these files for me?

I realy cant find all the link described in above to replace .php? with &

Thanks very much.

Posted: Tue Feb 21, 2006 4:29 pm

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3358
Staff
Next Group: 1642 posts
admin(Mark) wrote:

hi, you do not need to make those edits. I have already made the changes with the helpermod. Just install a fresh copy of 4images in modules/Gallery. Next download the helper mod from our site and overwrite the files in the gallery folder. The last thing to do now is make the small changes for the user integration.

Posted: Tue Feb 21, 2006 4:37 pm

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 15
Next Group: 35 posts
win2kpro wrote:

Oh.. Very Happy I didnt know that, thanks very much for your quick reply!

I'm gonna download and install a fresh installation of 4images into /modules/Gallery

and overwrite it with your files.

Should I than be able to access it via /modules/Gallers&file=index?

Posted: Tue Feb 21, 2006 6:05 pm

Western Studios

Site Admin
Site Admin
~PHP Nuke User~

Platinum Subscriber

Posts: 3358
Staff
Next Group: 1642 posts
admin(Mark) wrote:

After you overwrite the files you will be able to link to it like a normal module like this http://www.yoursite.com/modules.php?name=Gallery

Posted: Tue Feb 21, 2006 6:14 pm

Western Studios

WS Newbie
WS Newbie
~PHP Nuke User~


Posts: 15
Next Group: 35 posts
win2kpro wrote:

Hi,

I've just done a clean install, checked that Gallery working via:
http://www.xxxxxx.org/ar/Gallery/

After that, I've uploaded your files and overwrite the existing files

Now when I try go to:
http://www.xxxxxx.org/ar/modules.php?name=Gallery

The only thing that I see, is a blank page! and nothing else at all.

When I try to go to: http://www.xxxxxx.org/ar/modules.php?name=Gallery&file=index

I'm getting a blank page too.

any suggesting?

Posted: Tue Feb 21, 2006 6:47 pm

Post new topic   Reply to topic    Western Studios Forum Index -> 4 Images All times are GMT - 5 Hours
Goto page 1, 2, 3  Next
Page 1 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Related topics
 Topics   Replies   Author   Views   Last Post 
No new posts Tutorials Updated 0 admin 587 Fri Oct 26, 2007 4:34 pm
admin View latest post
No new posts Subscription FAQ updated 0 admin 786 Fri Jun 08, 2007 10:03 am
admin View latest post
No new posts theme packs updated 3 websiteportals 969 Tue Mar 06, 2007 3:20 pm
Agnt View latest post
No new posts Downloads page updated 0 admin 460 Sat Apr 01, 2006 9:57 pm
admin View latest post
No new posts Tutorial updated to css 0 admin 560 Wed Mar 01, 2006 12:20 pm
admin View latest post
 
Forums ©