Welcome to Geeklog, Anonymous Tuesday, June 06 2023 @ 07:35 pm EDT
Geeklog Forums
Topic Images
Status: offline
Dirk
Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
The function that displays the Topics block is COM_showTopics in lib-common.php. It shouldn't be too hard to do: Add 'imageurl' to the SQL request at the beginning of that function, then, further down, add the image to each of the entries. Also see admin/topics.php for some hints on handling the images.
Actually, I would make a copy of that function and create a PHP block, which could then replace Geeklog's Topics block. This would save you from doing the changes again when a new version comes out.
bye, Dirk
Actually, I would make a copy of that function and create a PHP block, which could then replace Geeklog's Topics block. This would save you from doing the changes again when a new version comes out.
bye, Dirk
2
2
Quote
All times are EDT. The time is now 07:35 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