11
arrakis
Re: Changing width of news and forum text area
  • 2007/10/22 13:17

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Ok, I found out myself how to change that, even if I don't like much to go editing the files on the server (if there is an upgrade someday, you can loose all the changes).

I did that editing this file:
/modules/newbb/include/forumform.inc.php

and changing this line (n.149):
$cols = 60;

Changing that value to 45 did the job.



12
arrakis
[Solved] Changing width of news and forum text area
  • 2007/10/22 8:52

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hi all, when I go into the forum (newbb2), and try to write a new post, the form is too large and the site layout get messed up.

I decided to go to templates and change the width of the textarea, but there is no way to do it.

I checked also in the css, it is not set in the .css file, but directly in the html:

<textarea name='message' id='message' rows='25' cols='60' tabindex='2'></textarea>


The total width of the XOOPS layout is 850 pixels, fixed width.

The problem is that I have left blocks on the left column, and right blocks on the right column, and when I go to post a new topic on the forum, the form is larger than the available width on the center column.

So I need to change it and make it smaller, how it is possible to do it?

Thanks in advance for any useful suggestion.



13
arrakis
Re: NewBB missing template?
  • 2007/10/20 23:06

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Quote:

JAVesey wrote:
However, you might find the dimensions of you text area box set in the .css file of your site's theme.


I checked, it is not set in the .css file, but directly in the html:

<textarea name='message' id='message' rows='25' cols='60' tabindex='2'></textarea>


So I need to change it in the template area or editing files on the module dir. I need to make "cols=40" instead of 60.



14
arrakis
Re: NewBB missing template?
  • 2007/10/20 22:42

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Quote:

JAVesey wrote:
Quote:
arrakis wrote:

newtopic.php template


Eh?

Your template files for this module will be .html files in the /template and /template/blocks folders of the module.


Sorry, I wanted to say the template shown when the address is newtopic.php, in other words when you go in forum and press "new topic" and you obtain the form where you write the post.

Quote:

However, you might find the dimensions of you text area box set in the .css file of your site's theme.

How a about a url so we can look at your site and offer an more informed view?


Thanks, I'll check it, but I can't show you cause it is now in local pc, not on line. Anyway the problem is that I have left boxes and right boxes, and the new post form is larger than the available width on the center part of xoops.



15
arrakis
NewBB missing template?
  • 2007/10/20 21:59

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hi all, when I go into a forum (on my site), and try to write a new post, the form is too large and the site layout get messed up, I decided to go to templates and change the width of the textarea, but there is no newtopic.php template to modify, it is possible? Do I have to edit some file in the module directory or it can be done in the template settings?

Thanks in advance for any useful suggestion.



16
arrakis
Re: Cannot modify news template, changes are ignored
  • 2007/10/18 11:21

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Quote:

MadFish wrote:
Try modifying news_block_new.html instead.

I know it says that each block has its own template, but the top/new story blocks both actually use the same template. That's why your edits don't show up. Tricky eh?




I can't believe I spent half day getting mad after that block, and it wasn't the right one, even if it is directly linked to from the block edit page

Now I was able to change it. Thank you very much!



17
arrakis
Re: Cannot modify news template, changes are ignored
  • 2007/10/18 8:31

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


JAVesey: yes I had it "on".

stefan88: thanks for the suggestions, i deleted the files in template_c but no result, the other are too complicated solutions, I would just like to change the template and make it work.

I like XOOPS very much but sometimes you get lost in such stupid things that you never imagine they couldn't work.

Thank you guys for suggestions



18
arrakis
Cannot modify news template, changes are ignored
  • 2007/10/18 7:16

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hi all,

I am trying to edit news_block_top.html to fix some visualization problem.

As admin I go to blocks > edit > edit template.

When I add or change something there, and then I go to the home page > reload > view source, nothing changed.

Even if I delete part of the code I still see it from the html in the home page, but as same time I see my modification on the template file, very strange.

As information: I cloned the template set and I set the new one as default on the preferences.

How can that be possible?

Thanks in advance for any useful suggestion.



19
arrakis
[Please ignore] Language problem - weird
  • 2007/9/18 13:00

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Please ignore



20
arrakis
List of Xoops core and modules vulnerabilities and bugs
  • 2007/4/16 10:56

  • arrakis

  • Just popping in

  • Posts: 50

  • Since: 2004/10/1


Hi all, I would like to say something IMHO important about XOOPS maintaining and upgrading.

I have different sites running since some years, they are visited and the communities are active, but happened that my sites were hacked more times (even keeping the codes upgraded).

Each time I had to fix everything and search blindly on the web for other similar problems, take 1 by 1 each module and go to different home pages (many times not existing anymore) not being able to have a clear image of the situation, searching here and there, loosing time etc.

Would be nice and very useful to have a clear/simple section, on this XOOPS website, similar to this one:http://secunia.com/search/?search=xoops with a complete list of the known vulnerabilities, sorted by module name, and where to download bug fixes or patches.

Right now my site has been hacked another time by turkish hacker, it was updated to the last version, with Protector installed, they messed up completely the forum, ecal calendar module and wf-section, also (i don't know how they did) many permissions on the web hosting were messed up.

But I have several other modules installed, but I have no idea where to go or check if I still have vulnerabilities on my sites.

Is it possible to create and maintain a detailed section of the known bugs and vulnerabilities of the various modules? Without going to search to 100 places with half of the expired or not existing...

What do you think about that?

PS: Sorry for my not good english.




TopTop
« 1 (2) 3 4 5 »



Login

Who's Online

230 user(s) are online (145 user(s) are browsing Support Forums)


Members: 0


Guests: 230


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: May 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits