101
chco2
Re: Checking user
  • 2009/8/28 20:23

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


ok thanks! Must have missed that. Gonna take another look then!



102
chco2
Re: Checking user
  • 2009/8/28 19:14

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Thanks Trabis, they are of great help!
One question though.. These will let me create my own admin pages. But how do I create preferences pages?

thnx,
Charly



103
chco2
Re: Editors in 2.4.0 beta
  • 2009/8/28 19:12

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Hmm.. I am using xforum. It was default set to dhtml editor (in 2.4). Now when creating a new topic I have chosen the FCK editor.
I instantly got a white screen with the following error:
This page cannot be displayed due to an internal error.
----
You can provide the following information to the administrators of this site to help them solve the problem:
Error: Cannot create fckeditor config file
----
Now all writing permissions are set, so it must be something else causing this.
Problem now is that I cannot post anything anymore, because whatever I do, I keep get this message. Cleaned all the cookies and stuff, but it didn't work.
Anyone?



104
chco2
Re: Checking user
  • 2009/8/28 13:39

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


What I would like to know and I hope some of you mod developers can help me out here is regarding the admin site.
Now looking at the example mod in the wiki it is all very clear in regards to writing the front end mod. Creating an index.php and xoopsversion.php, the language folder and the sql folder. No problems there.
It also notices the has admin flag in he xoops_verion.php, but nothing more.
Can someone please either send me an empty mod including admin area or simply layout what XOOPS needs for the admin area to work?
The admin area will be used to store settings in, that is basically it. Not sure if the settings will be stored in the database or in a file, but that's a later issue.

Anyone?

Thnx,
Charly



105
chco2
Re: Editors in 2.4.0 beta
  • 2009/8/28 13:01

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Hi thanks for the tips!
And if I'm reading this correct.. you will have to be changing this code if it is a beta or not, right? Since a new full release will be called 2.4 anyhows.



106
chco2
Re: Checking user
  • 2009/8/28 8:20

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


The module is actually finished now (first RC). I followed the XOOPS wiki example.
Here's the link.



107
chco2
Re: Checking user
  • 2009/8/26 16:31

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Hi!

That's easy.. you call the script with some parameters.

Charly



108
chco2
Re: Checking user
  • 2009/8/26 7:14

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Never mind.. I would have thought some eager programmer would have answered this by now. I'll be diving in it my self now.



109
chco2
Checking user
  • 2009/8/25 16:00

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Hi!

I am currently creating a short url mod.
Basically it is a seperate php script that does the job.
For the lack of time, can someone please show me how to checks if a user is registered (he does not have to be logged in!!) and if he belongs to a certain group (e.g. "allowed users" groep).
So the php scripts is called from whereever (perhaps from your own site) and it first checks if the user is registered and belongs to a certain group before it does its magic and returns a short url.

Thanks in advance!



110
chco2
Re: First comments on 2.4
  • 2009/8/23 19:03

  • chco2

  • Module Developer

  • Posts: 374

  • Since: 2004/3/5 1


Installed a fresh 2.4 Beta and besides the seperate post I created for the editors not working I also noticed that backend.php is giving an error.
If I open it up in IE or want to add it to e.g. Outlook I get the message that is is not a valid xml rss feed.
Anyone else have this?

BTW.. installed on Linux with PHP5




TopTop
« 1 ... 8 9 10 (11) 12 13 14 ... 17 »



Login

Who's Online

154 user(s) are online (105 user(s) are browsing Support Forums)


Members: 0


Guests: 154


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