211
kahumbu
Re: Code Writing Weapon of Choice?
  • 2004/1/5 13:48

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I use HTML-Kit, it's a free HTML editor with some tag functions for PHP. I like it very much but I might try the other PHP editors posted here.



212
kahumbu
Re: NewBB Reply Template
  • 2004/1/3 12:05

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


A good many thanks, MithyT2!

I would have not discovered it without help. I just followed files that were explicitly called. How could I have known it was 'buried' in includes/cp_functions.php?

That was probably a bit challenging. Thanks again!



213
kahumbu
Re: NewBB Reply Template
  • 2004/1/3 3:14

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Thanks, MithyT2, but I already did that. It starts with processing the HTTP posts, then calls the reply form.

I also followed all the includes (header.php, class.forumposts.php, etc.) but I can't find where the table is declared. I am looking for just that one <td>.

I am still trying to look for it. It may be a function call that defines a format.

Thanks again!



214
kahumbu
NewBB Reply Template
  • 2004/1/2 20:06

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I would like to change some aspects of the reply page in the forums. There is no reply template to change and edit. Where do I go or what do I do?

I want to change the look of the previous post just before the reply form (the area where both the replied post and the submission preview is handled). Specifically, I am after the <td> of that "class=outer" table. My outer class is dark, unlike here in XOOPS.org, so when someone replies in my forum, the previous post is shown with a dark background. I would like to put a class on that <td> to make it lighter.

Thanks for the help!



215
kahumbu
Re: The way forum being displayed.
  • 2004/1/2 13:53

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I think changing the general settings only affect the future user registrants. Do this if you want a default setting for new users. For existing users, just instruct them to go to Edit Account. They can choose what method of viewing they want from there.




216
kahumbu
Re: Major problem please help
  • 2003/12/31 13:53

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Quote:

munchcra wrote:
I installed the shopping cart.

I have no experience with the shopping cart, but did this installation involve changing/re-uploading some of the core files?



217
kahumbu
Re: A question about Module
  • 2003/12/31 9:51

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


When I try to change XOOPS behavior between anonymous users and registered users, I always think of my favorite hack.

So, for this problem, open up visit.php of modules/mydownloads/ and add this piece of code just after the includes (include "../../mainfile.php";)

// If not a user, redirect
if ( !$xoopsUser ) {
    
redirect_header('index.php',3,"You must be a registered user to download files.");
    exit();
}
// End of redirect hack


This will redirect the anonymous user back to the index page of the downloads with a message that he/she should register first. Change the message if you want. The number 3 specifies the no. of seconds the redirect page is rendered until it redirects.

The only limitation of this hack is that it does not distinguish between registered user groups, only between anonymous and registered users.

Hope this helps.



218
kahumbu
Re: Editing Links / Downloads
  • 2003/12/30 18:51

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


All template files are html files. Use the HTML comments <!-- --> to comment out the parts you do not want.

Just go through each anchor and link in that last td to find what you need.




219
kahumbu
Re: Editing Links / Downloads
  • 2003/12/30 17:33

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


The Modify link allows users to 'suggest' modifications in the link, usually the description. The site admin would have to approve the modifications/suggestions.

For changing the contents, go to the template admin (System Admin -> Templates), and change mylinks_link.html. They can be found at the lower part of the template. I guess, the safest way to do it is to comment them out, instead of deleting them.



220
kahumbu
Re: Admin page loop
  • 2003/12/30 7:14

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Yup, Fantastico--this one too.

The double-F (Firewalls and Fantastico) often result to Loopy Admins.




TopTop
« 1 ... 19 20 21 (22) 23 24 25 ... 27 »



Login

Who's Online

211 user(s) are online (137 user(s) are browsing Support Forums)


Members: 0


Guests: 211


more...

Donat-O-Meter

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

Latest GitHub Commits