Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 12:32 am EST

Geeklog Forums

Path to /geekary/images


Status: offline

Sniper12

Forum User
Regular Poster
Registered: 11/25/03
Posts: 81
Location:Denmark
I have install the geekary plugin the other day, but I can't see the small pic in the /images folder, I only get the red cross, The path for the images folder is http://www.sugecrew.dk/prideofvbk/geeklog/public_html/geekary/images

But geekary sets the path to http://www.sugecrew.dk/geekary/images
Where can I change the path for the images folder ?
 Quote

slacker

Anonymous
im having the same issue with my geekary installation. can someone please tell me what's going on? the site url details have been correctly entered in the geeklog config.php!
 Quote

Status: offline

Sniper12

Forum User
Regular Poster
Registered: 11/25/03
Posts: 81
Location:Denmark
I still can't find the place to edit this, so if somebody know I will be happy Can someone help me
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
curious what version of geekary you are using.

paths and urls for geekary are defined in it's config.php, but I wouldn't change those because they affect more than just one icon. Your path to the image is built off of geeklog's $_CONF['site_url'] so if you have geeklog's paths set proper, then you should see the image.

your site url should be
$_CONF['site_url'] = 'http://www.sugecrew.dk/prideofvbk/geeklog/public_html';
rather than 'http://www.sugecrew.dk'

this shouldn't make a difference to whatever redirect you are using.
hope that helps.
 Quote

Status: Banned

machinari

Forum User
Full Member
Registered: 03/22/04
Posts: 1512
forget all that! I just found your bogey.

edit the following template files:
commandbox.thtml
confirm2.thtml
errors.thtml
filesystem.thtml
and geekagesearch.thtml

change line 3 from
Text Formatted Code
    <td align="left"><img src="{site_url}images/geekary.gif"></td>



 
to this
Text Formatted Code
    <td align="left"><img src="{site_url}/geekary/images/geekary.gif"></td>



 

that should do it
these should all be using the url provided in geekary's config file, which is
Text Formatted Code
    public_url => $_CONF['site_url'] . '/geekary/',


 
...but I didn't check to see if that variable is made available on those pages or not so the above edit will work fine.
 Quote

Status: offline

Sniper12

Forum User
Regular Poster
Registered: 11/25/03
Posts: 81
Location:Denmark
I have found a nother way, maby not the best but i works fine for me Big Celebration

Edit the public_html/geekary/geekage.php file in line 97-104-111 an it works

Line 97
Text Formatted Code
$downimage =$_CONF['path_html'] . 'geekary/images/down.png';
 


TO
Text Formatted Code
$downimage =$_CONF['public_url'] . 'images/down.png';
 


Line 104
Text Formatted Code
$downimage =$_CONF['path_html'] . 'geekary/images/geekard.png';
 


TO
Text Formatted Code
$downimage =$_CONF['public_url'] . 'images/geekard.png';
 


Line 111
Text Formatted Code
$downimage =$_CONF['path_html'] . 'geekary/images/edit.png';
 


TO
Text Formatted Code
$downimage =$_CONF['public_url'] . 'images/edit.png';
 
 Quote

All times are EST. The time is now 12:32 am.

  • 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