Frage zu First Topic [img] on Forum Index

Archived support topics

Re: Frage zu First Topic [img] on Forum Index

Postby dkdkdkdk » Tue 22. Dec 2009, 14:08 | Userzeit: +1.00 / Di 22. Dez 2009, 14:08

Hi,

we´re using Highslide MOD too, exactly this one.
When I change the code like it´s done in your post (img_highslide to our [hsimg] ), I get this error
Code: Select all
Fatal error: Cannot redeclare class simpleresize in /srv/www/...../forum/www/thumb_resize.php on line 10


Thanks for help


EDIT: I´ve done clear installation of phpbb3 in our test site + HighslideMOD + FirstTopic_img_MOD, changed the "img" in viewforum.php to "hsimg" and it´s working :smile: . The problem is that´s not working in our main forum :-( (error above).

EDIT: ...tried to change in viewforum.php
this
Code: Select all
if (!function_exists('simpleresize')) {
include($phpbb_root_path . 'thumb_resize.' . $phpEx);}


to this
Code: Select all
include_once($phpbb_root_path . 'thumb_resize.' . $phpEx);


...and the thumbs are shown, but:
- when there is no IMGpicture in the next thread, it takes the thumb from the thread above = 2, 3, ... same thumbs beneath.
- in some threads there´s no thumb even though there´s IMGpicture added :-?
- no thumbnails for threads with IMG link to pictures on our forum = post with someinternetlink.com/..../klak.jpg - THUMB , post sekuro.se.funpic.de/.../klak.jpg (same picture, but with address on our forum) - NO THUMB

So i think the problem is in this
Code: Select all
include_once($phpbb_root_path . 'thumb_resize.' . $phpEx);
as it showed some thumbs, but not all of them or correctly.
dkdkdkdk
 
Posts: 18
 
No Topics
 
Joined:
Tue 22. Dec 2009, 13:57
 
Letzter Login:
Fri 14. May 2010, 19:27
 
Posted:
Tue 22. Dec 2009, 14:08 +1.00
Userzeit: Di 22. Dez 2009, 14:08

Re: Frage zu First Topic [img] on Forum Index

Postby 4seven » Tue 22. Dec 2009, 20:21 | Userzeit: +1.00 / Di 22. Dez 2009, 20:21


dkdkdkdk wrote:
Hi,

we´re using Highslide MOD too, exactly this one.
When I change the code like it´s done in your post (img_highslide to our [hsimg] ), I get this error
Code: Select all
Fatal error: Cannot redeclare class simpleresize in /srv/www/...../forum/www/thumb_resize.php on line 10


never heard about that error, bcs. the code say

Code: Select all
   if (!function_exists('simpleresize')) {
    include($phpbb_root_path . 'thumb_resize.' . $phpEx);}


so it can't be double included...

but, anyway, there a signs and miracles

first check out the standard installation, bcs, of eventually updated code
viewtopic.php?p=930#p930

if it's not satisfied try this:

remove this part from the main part of my mod

Code: Select all
   if (!function_exists('simpleresize')) {
    include($phpbb_root_path . 'thumb_resize.' . $phpEx);}


and add in viewforum.php before...

Code: Select all
   $s_type_switch = 0;
   foreach ($topic_list as $topic_id)
   {


..this

Code: Select all
     if (!function_exists('simpleresize')) {
    include($phpbb_root_path . 'thumb_resize.' . $phpEx);}


that must work.
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Tue 22. Dec 2009, 20:21 +1.00
Userzeit: Di 22. Dez 2009, 20:21

Re: Frage zu First Topic [img] on Forum Index

Postby dkdkdkdk » Tue 22. Dec 2009, 20:57 | Userzeit: +1.00 / Di 22. Dez 2009, 14:08

The problem with same thumb for threads without IMGpictures in it is still there. I think the HIGHSLIDE Mod is in collision somehow with your MOD.

This MOD worked for me (and with highslide plug), but its taking only attached pictures, not IMG tags and is too buggy.

Maybe I just wait for your Attachment version of First Topic... ;)

EDIT: sorry, not your mod and highslide, cause on my test forum its running :roll: Do you think the problem is only in viewforum.php? I can look to the other mods installed on our official forum, if they are changing anything in viewforum and the collision is starting with them.
dkdkdkdk
 
Posts: 18
 
No Topics
 
Joined:
Tue 22. Dec 2009, 13:57
 
Letzter Login:
Fri 14. May 2010, 19:27
 
Posted:
Tue 22. Dec 2009, 20:57 +1.00
Userzeit: Di 22. Dez 2009, 14:08

Re: Frage zu First Topic [img] on Forum Index

Postby 4seven » Tue 22. Dec 2009, 21:24 | Userzeit: +1.00 / Di 22. Dez 2009, 20:21

have u read my last post and check it out?

i dont really understand what u mean. my "img on index mod" works.
only people with "problem-boards" must have a little change to this code.

so u see, everything work fine,
http://4seven.bplaced.net/phpbb3/viewforum.php?f=7
with img version and now testwise with my img_higslide bbcode,

so it will work with every other img-like-bbcode
(with http://www.domain.de/pic.jpg)

attachment-pics (http://www.domain.de/file.php?idq14346475)
for shure doesnt work with this img version of my mod,
because therefore i build an attachment version.

so what is the result of your testings after test the instructions of my last post. its unclear

Do you think the problem is only in viewforum.php?

very shure

it's so easy.

let your live board at it is, but take a fresh 3.0.6 viewforum.php

build in my mod > testing
than build in further mod > testing
etc etc
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Tue 22. Dec 2009, 21:24 +1.00
Userzeit: Di 22. Dez 2009, 20:21

Re: Frage zu First Topic [img] on Forum Index

Postby dkdkdkdk » Tue 22. Dec 2009, 22:06 | Userzeit: +1.00 / Di 22. Dez 2009, 14:08

I´ve copied the viewforum.php from the testing site, which has clear installation of phpbb3 only with your mod and highslide mod mentioned before.

I´ve done this:

remove this part from the main part of my mod
Code: Select all
if (!function_exists('simpleresize')) {
include($phpbb_root_path . 'thumb_resize.' . $phpEx);}
and add in viewforum.php before...
Code: Select all
$s_type_switch = 0;
foreach ($topic_list as $topic_id)
{
..this
Code: Select all
if (!function_exists('simpleresize')) {
include($phpbb_root_path . 'thumb_resize.' . $phpEx);}


...and the previous error Fatal error: Cannot redeclare class simpleresize in /srv/www/...../forum/www/thumb_resize.php on line 10 is gone.
But "the same thumb for more threads" error is still there. Cache clearing, orphan... is done.


let your live board at it is, but take a fresh 3.0.6 viewforum.php
build in my mod > testing
than build in further mod > testing
etc etc

...I know that´s working well with clear install of 3.0.6 + HS mod on my test forum, but on my live site it´s not :-( . We have there more mods which are working with each other and we need them.

What kind of Highslide plugin are you using? THIS is ours. I can unistall it and try yours, but need to give there same prefix [hsimg] to leave the posts as they are.
Last edited by dkdkdkdk on Fri 8. Jan 2010, 12:03, edited 1 time in total.
dkdkdkdk
 
Posts: 18
 
No Topics
 
Joined:
Tue 22. Dec 2009, 13:57
 
Letzter Login:
Fri 14. May 2010, 19:27
 
Posted:
Tue 22. Dec 2009, 22:06 +1.00
Userzeit: Di 22. Dez 2009, 14:08

Re: Frage zu First Topic [img] on Forum Index

Postby 4seven » Tue 22. Dec 2009, 23:36 | Userzeit: +1.00 / Di 22. Dez 2009, 20:21

...and the previous error Fatal error: Cannot redeclare class simpleresize in /srv/www/...../forum/www/thumb_resize.php on line 10 is gone..


perfect

But "the same thumb for more threads" error is still there. Cache clearing, orphan... is done



>>>>>>>> link in here your viewforum.php and the viewforum_body.html where this not work.
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Tue 22. Dec 2009, 23:36 +1.00
Userzeit: Di 22. Dez 2009, 20:21

Re: Frage zu First Topic [img] on Forum Index

Postby xconnect » Wed 23. Dec 2009, 00:05 | Userzeit: +1.00 / Mi 23. Dez 2009, 00:05

Hi 4seven, ich bins mal wieder :D ...

Also, ich habe eine gute und eine schlechte Nachricht:

Die gute Nachricht zuerst: Es treten keine Fehler mehr auf ... (zumindest werden keine mehr im Header angezeigt!)

Die schlechte Nachricht: "Die Funktion" funktioniert immer noch nicht! Es werden leider partout keine Bilder angezeigt...

Ich habe das Verzeichnis unter "serverroot/tfc/images/files/viewtopic_thumbs" erzeugt (nur so zur Info)

Wie immer... LG xconnect
LG xconnect
xconnect
 
Posts: 35
 
Last 3 Topics:
Frage zu Highslide ...
Permantente Anmeldu...
Frage zu Last X [at...
 
Joined:
Wed 16. Dec 2009, 23:53
 
Letzter Login:
Sat 22. May 2010, 19:04
 
Posted:
Wed 23. Dec 2009, 00:05 +1.00
Userzeit: Mi 23. Dez 2009, 00:05
Location: Berlin

Re: Frage zu First Topic [img] on Forum Index

Postby 4seven » Wed 23. Dec 2009, 00:26 | Userzeit: +1.00 / Di 22. Dez 2009, 20:21

Die schlechte Nachricht: "Die Funktion" funktioniert immer noch nicht! Es werden leider partout keine Bilder angezeigt...

für weitere hilfe bräuchte ich admin- und ftp-zugang. ansonsten keine chance. da es bei mir auf mehreren live-boards und auf allen billig-testboards funktioniert, kann es nur mit server-seitigen restriktionen zu tun haben, die das zunichte machen. da muss eine lösung her, die "am (problem) objekt" erarbeitet wird, sonst schreiben wir hier noch 2012.
User avatar
4seven
Administrator
 
Posts: 427
 
Last 3 Topics:
Tabmenu Test
[Snippet] Avatar Ev...
[DEV] Zero and X-P...
 
Joined:
Sun 13. Jan 2008, 23:44
 
Letzter Login:
Mon 1. Aug 2022, 16:40
 
Posted:
Wed 23. Dec 2009, 00:26 +1.00
Userzeit: Di 22. Dez 2009, 20:21

Re: Frage zu First Topic [img] on Forum Index

Postby dkdkdkdk » Wed 23. Dec 2009, 00:53 | Userzeit: +1.00 / Di 22. Dez 2009, 14:08

here it is
view.rar
dkdkdkdk
 
Posts: 18
 
No Topics
 
Joined:
Tue 22. Dec 2009, 13:57
 
Letzter Login:
Fri 14. May 2010, 19:27
 
Posted:
Wed 23. Dec 2009, 00:53 +1.00
Userzeit: Di 22. Dez 2009, 14:08

Re: Frage zu First Topic [img] on Forum Index

Postby xconnect » Wed 23. Dec 2009, 01:45 | Userzeit: +1.00 / Mi 23. Dez 2009, 00:05

@4seven: Sie haben Post! :D

LG xconnect
LG xconnect
xconnect
 
Posts: 35
 
Last 3 Topics:
Frage zu Highslide ...
Permantente Anmeldu...
Frage zu Last X [at...
 
Joined:
Wed 16. Dec 2009, 23:53
 
Letzter Login:
Sat 22. May 2010, 19:04
 
Posted:
Wed 23. Dec 2009, 01:45 +1.00
Userzeit: Mi 23. Dez 2009, 00:05
Location: Berlin

PreviousNext

Return to Support



Who is online

Users browsing this forum: No registered users and 8 guests

cron