251
kahumbu
Re: Embedded PHP
  • 2003/12/1 15:45

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I use these tags to place simple PHP codes in the theme.html:
<{php}>php code here<{/php}>

I'm not sure, though, if this is what you're looking for. I use this to include the username in all pages of my site.



252
kahumbu
Re: Deleting recalcitrant users
  • 2003/12/1 15:34

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Quote:

finalfiler wrote:
ANyway, I'm not too much concerned about that, just want a quick way to delete the useless accounts.



As Admin, you can delete accounts from the "Edit Profile" page of users. I don't know if this is 'safer' than going into the DB and doing queries, but that's what I use.

You can use the Members module to do the searches and go to deleting accounts from there.



253
kahumbu
Re: Customize my main menu problem.
  • 2003/11/30 21:30

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Go to your Admin Menu -> System Admin -> Preferences -> General Settings -> Module for your start page. Change it to whatever module you want to start with.

Try to explore all the other settings and options in the System Admin and other modules.



254
kahumbu
Re: Can i create custom user profile fields??
  • 2003/11/30 7:16

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


A workaround for what you want is to identify the fields that you do not need and re-label them. That's what I did for my site. This is especially useful for people with minimal PHP skills.

In my case, I changed 'Occupation' and 'Interests' to something more specific for my users.

Go to your language folder and change the labels from there.




255
kahumbu
Re: Top Posters Module
  • 2003/11/24 16:46

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


It worked! So, it was more of a 'browser usage' problem than a XOOPS problem.

Thanks, tom!



256
kahumbu
Re: Top Posters Module
  • 2003/11/24 9:57

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I have a minor problem with the Top Posters block admin. How do you unselect an option in the 'Do not display users whose rank is:'?

I have originally selected 'Webmasters' not to show in the Top Posters. Now I changed my mind and want to 'unselect' it. How do I do that? There's no 'none' option in there. Can it be done through the browser or should I go into the DB?

Thanks!



257
kahumbu
Re: Blogger support site built with Xoops
  • 2003/11/17 17:19

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


It's a very nice site--clean and organized.

The Main Menu's dashes are a bit buggy with Mozilla Firebird, though, but it looks great in IE 6.

I also liked the idea of making Forums the whole page without the left and right columns. Nice job!



258
kahumbu
Need to Add Registration Page Fields
  • 2003/11/16 15:44

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Hi,

Can someone help me place the Real Name and Occupation field in the registration page? And, also, make it a requirement?

I looked at the source code and it's still beyond my limited knowledge of PHP with the special functions and smarty classes in there. I hope it's not too complicated. I can paste the code posted here in specific files--that won't be a problem.

Thanks!



259
kahumbu
Re: Moderator not a moderator
  • 2003/11/7 16:23

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


Quote:

onokazu wrote:
Yes, this was a bug. Here is the patch that I committed on CVS:
url deleted
Make sure that you update the module after adding the patch so that the modified version of the template file will be used.


Hi onokazu,

Thanks for the patch. I'm not sure if chapi and I have the same problem, but the patch for the newbb_thread, if I am correct, allows moderators to delete and edit individual posts. I have installed that patch and it works fine.

It's the 4 buttons below that gives registered users/moderators the problem, i.e. they can't do anything for the whole topic thread. They can't move, edit, delete or make it sticky. They can manipulate individual posts but if they use the 4 small buttons below, it would redirect them with the message that they are not moderators.

Hmmm... if the viewer_is_admin works for individual posts, then the 'registered user/moderator' is recognized as a moderator by viewtopic.php. But when he tries to do something with the 4 small buttons, he is redirected by topicmanager.php because he is not a moderator. But with register_globals on, it works fine.

I'm not really knowledgeable about PHP, but I just try to follow the flow of the problem. BTW, I'm using 2.0.5 (patched from 2.0.3).

Thanks for the help!



260
kahumbu
Re: Moderator not a moderator
  • 2003/11/7 13:06

  • kahumbu

  • Documentation Writer

  • Posts: 277

  • Since: 2003/8/23


I've verified it: all registered users assigned as moderators are redirected--saying that they are not moderators--after clicking the buttons below. But admin/webmaster accounts have no problems.

I've also tested the problem with register_globals on and the problem was 'solved' for the registered user/moderator. But when I turned if off again, the problem was back.

What could be the problem? I'll turn on debugging and post the messages here if that will help.

Thanks!




TopTop
« 1 ... 23 24 25 (26) 27 »



Login

Who's Online

144 user(s) are online (110 user(s) are browsing Support Forums)


Members: 0


Guests: 144


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