News:

Wondering if this will always be free?  See why free is better.

Main Menu

Preview Problem

Started by bluesyrio, September 08, 2004, 09:00:29 AM

Previous topic - Next topic

bluesyrio

Hi,

I have just upgraded form SE to SMF RC and whenever a member clicks to preview a post it sends the post anyway instead of previewing it. Any ideas of what could be the problem?

Another thing that has happened is when I choose in my converted theme settings to send members back to the topic after relpying to it and not to the message board, the option does not stay (even though I saved it). It only remembers the change when done in the profile theme configuration...

Thanks.


[Unknown]

What version of SMF?  Link, please?

-[Unknown]

bluesyrio

SMF 1.0 RC1

http://www.ex-aequo.web.pt/forum

Btw, some members of our board have complained that when they click to see "member's last posts" in a member's profile and choose to see a certain reply in a topic they are sent to the last page of that topic and not to the specific page and location where that member's reply is. Is there an option to change that or is it fixed and standar with SMF? Thanks.

[Unknown]

Quote from: bluesyrio on September 09, 2004, 08:27:51 AM
Btw, some members of our board have complained that when they click to see "member's last posts" in a member's profile and choose to see a certain reply in a topic they are sent to the last page of that topic and not to the specific page and location where that member's reply is. Is there an option to change that or is it fixed and standar with SMF? Thanks.

It seems that is a problem - I just tested it.

! The showPosts section was linking to the end of the topic, not the right post. (Profile.php)

It will be fixed in the next release.

The following two lines appear in your Themes/converted/index.template.php file:

  <script language="javascript" type="text/javascript" src="/forum/advim.js"></script>
<script language="javascript" type="text/javascript" src="/forum/ubbc.js"></script>

Please remove them both.

-[Unknown]

bluesyrio

Quote from: [Unknown] on September 10, 2004, 02:58:43 AM  <script language="javascript" type="text/javascript" src="/forum/advim.js"></script>
<script language="javascript" type="text/javascript" src="/forum/ubbc.js"></script>

Please remove them both.

It worked. There's no preview problem anymore. Thanks. :)

bluesyrio

Another problem, but this time with links:

[url]http://www.computerandvideogames.com/screenshots_library/dir_232/vortal_pic_116004.jpg[/url] or simply placing the link without code shows:

Quoteogames.com/screenshots_library/dir_232/vortal_pic_116004.jpg" target="_blank">http://www.computerandvide ogames.com/screenshots_library/dir_232/vortal_pic_116004.jpg

Any hints, please?

Moroever we lost the borders in the quotation boxes. Where in the template can we correct that? Thanks.

[Unknown]

In your style.css/index template, please find the "quote" and "code" classes.  Inside them, please add:

border: 1px solid black;

That should add back the border.  You might want to add margin and padding too.

As to this error with links, have you made any modifications to Subs.php?  That looks like the sort of error you might get if links were not being limited to between certain characters.

It works here:
http://www.computerandvideogames.com/screenshots_library/dir_232/vortal_pic_116004.jpg

-[Unknown]

bluesyrio

#7
I have not made any changes to files since upgrading. We did not have this problem before the upgrade and I really can't remember having done anything to subs.php.  :-\

When I tried to make changes to style.css/index template in the admin the message board said there was no such file. I went to look in the server and it was true. I uploaded a copy of the one from the classic folder to the converted folder. Now it does not allow me to save the modifications to style.css/index in admin and I don't understand why.

Anyway, I made the changes in the file itself and uploaded it. Nothing changed. I am wondering if the board is using the style.css/index from another folder (classic or default), but it doesn't make a lot of sense to me...

[Unknown]

#8
Quote from: bluesyrio on September 12, 2004, 06:43:50 AM
I have not made any changes to files since upgrading. We did not have this problem before the upgrade and I really can't remember having done anything to subs.php.  :-\

When I tried to make changes to style.css/index template in the admin the message board said there was no such file. I went to look in the server and it was true. I uploaded a copy of the one from the classic folder to the converted folder. Now it does not allow me to save the modifications to style.css/index in admin and I don't understand why.

The file is not writable.  For SMF or PHP to change the file, you have to chmod it to 777.

QuoteAnyway, I made the changes in the file itself and uploaded it. Nothing changed. I am wondering if the board is using the style.css/index from another folder (classic or default), but it doesn't make a lot of sense to me...

I can't load your forum right now to check, but perhaps it would help to check the chmod on the file with your FTP client?

Can you try, perhaps, uploading Subs.php again?

-[Unknown]

bluesyrio

Changing the CHMOD fixed the "save" problem. But it still does not apply the changes made to the code. I also experimented uploading the modified style.css file to the classic folder and nothing changed in the board.

And... sorry to bug with another problem. :-X I have changed, after members' request, the option to disable guests to see members' profiles, but even though it was saved (ticked off) guests can still see members' profiles. ???

[Unknown]

The option?  Which?

Perhaps you are modifying the wrong file?

-[Unknown]

Advertisement: