Welcome to Geeklog, Anonymous Saturday, December 21 2024 @ 10:03 pm EST

Geeklog Forums

Where can I change the html of the uploaded images?


Peter

Anonymous
You know the uploaded images at the bottom of each story submission? What file do I have to go in to change how they appear in the article html? I want to add a closing /> to make my site w3 compliant. Anyone have any ideas?
 Quote

Peter

Anonymous
Anyone have any ideas of which file would have the code i'd need to hack?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
What is it you really want to do? The <img> tag doesn't have to be closed with />, at least not in HTML. And since Geeklog doesn't really support XHTML yet, you don't have to change anything there.

bye, Dirk
 Quote

orfilms@gmail.com

Anonymous
I'm trying to make my site w3 XHTML compliant. It's not something I have to do, but something I want to do.

What file could i add the / to for all uploaded images?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
system/lib-story.php

Geeklog still has a lot of tiny snippets of HTML embedded all over the place - good luck finding all of them. And then you have to do it all again when the next version comes out ...

bye, Dirk
 Quote

Peter

Anonymous
In lib-story, I already fixed all the <img tags but the posts on my site (slashfilm.com) are not fixed with the trailing /> on the image tags. I must be missing something somewhere?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The [imageX] tags are translated to <img> tags when you save the story. So you will have to edit and re-save those stories.

bye, Dirk
 Quote

Peter

Anonymous
Okay, that makes sense. One last question dirk while I have your attention (this is the final edit I need)

Where can I find the user_block html for:

<div class="block">
<div class="blocktitle">User Functions</div>
<form action="http://www.slashfilm.com/users.php" method="POST">
<b>Username:</b><br /> <input type="text" size="10" name="loginname" value=""><br /> <b>Password:</b><br /> <input type="password" size="10" name="passwd"><br />
<input type="submit" value="Login">
</form>
Don't have an account yet? Sign up as a <a href="http://www.slashfilm.com/users.php?mode=new">New User</a>
</div>

??

Thanks again.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
loginform.thtml

bye, Dirk
 Quote

Peter

Anonymous
Back to the images thing:

I went in and deleted the images from a story, went back in and added new ones... and still the img tag haven't changed over to the new one with the ending /

Any ideas?
 Quote

Peter

Anonymous
In lib-story I see the Delete Images call, but not the add images call....
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Quote by: Peter

I went in and deleted the images from a story, went back in and added new ones... and still the img tag haven't changed over to the new one with the ending /


When you edit a story, Geeklog will translate the <img> tags back into the [imageX] syntax. That may fail now because of your changes, i.e. it doesn't recognize the images as being uploaded ones. Is that what you mean?

bye, Dirk
 Quote

Peter

Anonymous
What I mean is, I've created a new post with a new uploaded image and the <img> tag does not have a trailing /> when posted.... where in the lib-story must I add the / for this to work? I've added it to every reference of img but still nothing?
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
That would be STORY_insert_images. There are quite a few <img> tags in there - double check that you didn't miss one.

bye, Dirk
 Quote

All times are EST. The time is now 10:03 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