121
biomech
Re: Member
  • 2005/4/14 4:04

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Sorry, should have mentioned:

newbb version 1, as listed in my modules list.

- b -



122
biomech
Member's IP Address?
  • 2005/4/14 3:56

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


How do I find out what IP address a user posted from?

I seem to remember this being in an older version of XOOPS... (or maybe that was back when I was using another forum system, can't recall for sure). I'd like to be able to see the IP address a post is made from...

Thanks

- b -



123
biomech
Re: How do I get the list of recent topics?
  • 2004/12/29 15:06

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


I don't see any file called newbb_block.php.
I did see ~modules/newbb/blocks/newbb_new.php , but I didn't see any code that I thought was useful for getting a list of the recent topics. That's all I need just a list...

-b-



124
biomech
Re: How do I get the list of recent topics?
  • 2004/12/29 14:46

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Ok, thanks, I missed that.

I'll go ahead and upgrade to newbb2, but I'm not sure I explained what I want to do well enough. I don't need to make a new block.

I am writing a custom module, and in this module I want to make an html form listbox, which is populated with the most recent topics, so that the users of the module can select one of the topics as a form element. Do you understand what I mean? I'm just looking for the code I need to retrieve the list of most recent topics. I assumed that the "Recent Topics" block must do this in order to show the recent topics, so I thought maybe I could use some of that code, but I couldn't find what I needed.

For example, what database table do I have to query to get the list of recent topics?

Thanks,

-b-

PS: By the way, your Persian H.P. site looks really really cool! I only wish I could read Persian. (What countries or areas do you refer to as "Persia?")



125
biomech
Re: How do I get the list of recent topics?
  • 2004/12/29 12:51

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


I tried to get this working, but ran into problems:

1)
I downloaded the following files:

XOOPS2_mod_newbb_2.0Final.zip
main.php
modules-newbb-include-functions.zip

2)
I backed up
~modules/newbb and
~modules/system/admin/modulesadmin/main.php

3)
I removed ~modules/newbb, and replaced it with the new one I downloaded. I also copied in the new modules/newbb/include/functions.php which I downloaded in 1) above.

4)
I copied main.php to
~modules/system/admin/modulesadmin/main.php

5)
I went to my XOOPS administration menu, system admin, modules. I then clicked on the Update icon to the right of the Forum icon, which was displayed as version one. I confirmed the Update, and received Update output, and was told that th Update was successful. The Forum icon in the Modules administration menu now shows version 2.

6)
I went to look at my forums, but all I see is a list of forum categories, no forums. At the very top of the page, this is displayed in plain text:

NewbbForumHandler::getForums error::SELECT * FROM kt__bb_forums ORDER BY forum_order

and a couple of other weird html anomalies show up as well. I wonder if this is because i haven't updated the newbb templates as instructed in the readme file. However, the readme file doesn't say what or where the newbb templates are, or how to udpate them, which is a bit useless.

If anyone could tell me where to go from here, I'd appreciate any advice.

Thanks,

-b-

Edit: Now that I look at that error, its obvious that the forums aren't showing up because of the getForums error, but I'm not sure why that's happening or where to look for a solution. Advice appreciated...



126
biomech
Re: How do I get the list of recent topics?
  • 2004/12/29 11:53

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Not 100% sure about the version, but the first line of ~modules/newbb/index.php says:
// $Id: index.php,v 1.13 2003/09/22 04:37:25 okazu Exp $

... so I assume its 1.13. Apparently I need to upgrade the module... I guess I just download it from the modules section here at xoops.org and upgrade it through the modules admin control panel?

By custom list, I just mean that I want to code my own listbox in my own module which gives a list of the recent topics.

-b-



127
biomech
How do I get the list of recent topics?
  • 2004/12/29 11:26

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Hi,

I'm trying to add to one of my modules, and I want to include a listbox containing the recent topics in the forums. At the moment, I have the Recent Topics block enabled on my bbs, but I also want to make a custom listbox of the recent topics themselves.

Can someone point me to some code/sql that will do this?

Thanks,

-b-



128
biomech
Re: Certain-Users-Only Forum?
  • 2004/9/30 2:45

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


Thanks for the help - I'm trying to follow you here...

Quote:

Create a new group with the same permissions as registered members.


Done.

Quote:
Then in the forum admin, edit the forum and give only that new group the permission to post reply's and open threads.


I'm not sure where to do that. When I click on the Forum module icon and click Edit Forum, and then select a Forum to edit, I get a screen with these options:

- Delete this forum
- Forum Name
- Forum Description
- Moderators
- Category
- Access Level
- Type
- Allow HTML
- Allow Signatures
- Hot Topic Threshold
- Posts per Page
- Topics per Forum

The "Access Level" option has a dropdown listbox where I can select one of only 3 options: Anonymous posting, Registered users only, and Moderators/Administrators only. I don't see my newly created group anywhere. Am I using the same control panel as you I wonder... (I'm using XOOPS 2.0.7).

Thanks for your help,

-b-



129
biomech
Re: Certain-Users-Only Forum?
  • 2004/9/29 23:40

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


When I go to edit a forum, I see a list of users I can choose to add as moderators - not a list of users I can see to just give write access to. Is the only solution to this problem to make a forum with 100 moderators?

-b-



130
biomech
Certain-Users-Only Forum?
  • 2004/9/29 16:36

  • biomech

  • Not too shy to talk

  • Posts: 161

  • Since: 2002/2/25


I want to make a forum where only certain users can post, but which can be read by everyone. I've looked around in my admin panel and couldn't find anything, and also done some searching here without any luck.

Is there any way to create a group and then create a new forum and set permissions on it so that only members of the new group can post? At the moment I see only 3 categories by which posting can be restricted:

- anonymous/unrestricted
- registered users ony
- moderators/admins only

I want to set up my own group of people and have only members of that group be able to post to a specific forum.

Suggestions?

-b-





TopTop
« 1 ... 10 11 12 (13) 14 15 »



Login

Who's Online

218 user(s) are online (124 user(s) are browsing Support Forums)


Members: 0


Guests: 218


more...

Donat-O-Meter

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

Latest GitHub Commits