11
Cozzie
Re: How to extend reigstration profile fields?
  • 2009/9/23 10:13

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


thanks a lot Mazarin!

That's given me the kick I needed to make the upgrade from 2.0.18. Fingers crossed!!!



12
Cozzie
How to extend reigstration profile fields?
  • 2009/9/22 10:17

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi,

Can anyone tell me how can I force users to fill in all the profile fields when they register, i.e. including AIM, Yahoo messenger etc?

I will use the language folder to change the fields to something more meaningful so requiring users to fill them in when they register will not be a big problem for users.

is there a simple way to do this?

Thanks a lot!



13
Cozzie
Re: Could not instantiate mail function.
  • 2009/6/29 6:58

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


that was exactly the problem, thanks a lot Culex!



14
Cozzie
Could not instantiate mail function.
  • 2009/6/26 7:18

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi there

I have just tried to send an email to all my users for the first time. The mail sent to about 10% of my users but for the rest I get this message

Could not send mail to username
Could not instantiate mail function.

I've found other posts related to this problem but the strange thing for me is that some of the emails are successfully sent so I really can't understand what the problem is.

I don't really get emailing so if anyone can help me I'd be really grateful!!

I'm on a shared server and XOOPS 2.0.18.1

thanks!



15
Cozzie
Re: how does xoops upload data to the database
  • 2009/6/25 0:42

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Brilliant answer, thanks a lot Ghia!!! That's just what I needed



16
Cozzie
Re: how does xoops upload data to the database
  • 2009/6/24 2:09

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Thanks a lot!

I've been trying to get something done but just can't, I wonder if you guys can help me?

I'm using newbb seo unfortunately as I'm also using xlanguage the rewritten urls and meta description don't work because they display the language tags [en][/en].

To fix this I had to add 2 extra fields to the xoops_bb_topics table, I called these topic_url and description. But of course I have to edit them by hand which is not really realistic to keep doing.

Because when users first post they write in only one language it would work perfectly if I could add the subject and message to the topic_url fields and description fields.

So can anyone tell me, how I can add existing data (which is already added to existing fields) to 2 new fields I have created?

I've tried for ages to get this to work but I just can't so i would be so grateful if you could give me some advice.

thanks!



17
Cozzie
Re: how does xoops upload data to the database
  • 2009/6/18 2:57

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Thanks guys!

Culex, can you tell me where the form.post.php file is, i can't find it!



18
Cozzie
how does xoops upload data to the database
  • 2009/6/17 9:59

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Hi there, I'm trying to get a better idea of how XOOPS works and I want to understand which files upload data to the database tables.

So for example, in newbb when a new topic is added (using newbb/newtopic.php) how does the content of the question get added to the newbb database tables? Which file does this?

thanks a lot for any tips



19
Cozzie
Re: How to show forum posts related to a pages/category's name
  • 2009/5/21 2:40

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


can anyone help? thanks!



20
Cozzie
Re: How to show forum posts related to a pages/category's name
  • 2009/5/15 4:29

  • Cozzie

  • Not too shy to talk

  • Posts: 133

  • Since: 2007/7/13


Just to recap I'm trying to modify the newbb 'Latest posts' block so that it can be used to show the latest posts according to the page of the website being viewed.

So for example i have a module which is all about colleges, each category in that module is a different college. It would be great if on each category page I could display forum posts which mention that college. I think this might be useful for a lot of sites.

So the aim is to have the block return posts according to the page currently being viewed

within this file: /modules/newbb/blocks/newbb_block.php

this function: b_newbb_show

controls the latest posts block

but how can i tell this function what the page name is of the page in which the block is currently being viewed.

I'm using this hack inside the category's template page to call the block:

<{php}>
include XOOPS_ROOT_PATH.'/mainfile.php';
include_once XOOPS_ROOT_PATH.'/class/template.php';
include_once(XOOPS_ROOT_PATH.'/modules/newbb/blocks/newbb_block.php');
$result = b_newbb_show(explode('|','time|10|360|0|1|0|0'));
$tpl = new XoopsTpl();
$tpl->assign('block', $result);
$tpl->display('db:newbb_block_cover.html');
<{/php}>

As this is within the module's category page is there some way I can send the $category.name to newbb_block.php

Thanks a lot for bearing with me!




TopTop
« 1 (2) 3 4 5 ... 14 »



Login

Who's Online

221 user(s) are online (138 user(s) are browsing Support Forums)


Members: 0


Guests: 221


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