31
Djiman
Re: Photo in Profile
  • 2006/9/2 14:11

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


lol!
for the dutch we shall write a new script
if (xoops_isuser and user has no smile) die;
xoops_isuser ! == smile
show me the of the month!



32
Djiman
Re: Got XK Editor (Koivi) working in News 1.44
  • 2006/9/1 6:43

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


fckeditor:
the reason you are not seeing your editor, to me, it seems that the fckeditor should go rather in your class folder since it not a module
2. then you have to put the required line in the xoopsformloader.
--in the news and in some other modules it is already integrated.

wysiwyg:

with the wysiwyg editor also goes in the class folder (just in case you have taken a trip elsewhere)
and you need to !

include xoops_ROOT_PATH . "/class/wysiwyg/formwysiwygtextarea.php";
in you xoopsformloader.php , if you don't have it included only.

assuming that you have already selected wysiwyg in your preference!
then select your wysiwyg. - IT is called 'KOIVI'

images:
your user can't upload images! maybe you have not given that particular user or group upload permission.

((who has permission to upload images?!
it is in your system preference - upload images -
assign it to a group.))

the 'golden rule' is to first find a README file or a DOC folder or file. at-least for wysiwyg there is one in detail how to get it running quick and easy



33
Djiman
Re: How does one add main Menu buttons with "group" security
  • 2006/8/31 18:48

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


I told you there is a better way .
that is a much better idea !



34
Djiman
Re: How does one add main Menu buttons with "group" security
  • 2006/8/31 18:00

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


I dont know if this might help you!

In your xoops_version
where you have the 'has main' and 'submenu'

try using this;
should work for atleast to the regisetered ..
it is not my idea I only found it in a file somewhere.! maybe it is something that is close to what you need.


<start>
// Menu
$modversion['hasMain'] = 1;

global $xoopsModule;
if (is_object($xoopsModule) && $xoopsModule->getVar('dirname') == $modversion['dirname']) {
global $xoopsModuleConfig, $xoopsUser;
$isAdmin = false;
if (!empty($xoopsUser)) {
$isAdmin = ($xoopsUser->isAdmin($xoopsModule->getVar('mid')));
}
// Add the Submit new item button
if ($isAdmin || (isset($xoopsModuleConfig['allowsubmit']) &&
$xoopsModuleConfig['allowsubmit'] == 1 &&
(is_object($xoopsUser) ||
(isset($xoopsModuleConfig['anonpost']) && $xoopsModuleConfig['anonpost'] == 1)))) {
$modversion['sub'][1]['name'] = _MI_LANGUGE_SOMETHING ;
$modversion['sub'][1]['url'] = "submit.php?op=add";
}
$modversion['sub'][2]['name'] = "lang_something_here.php"; /* the button 's language */
$modversion['sub'][2]['url'] = "../to somewhere/"; /* the url */

}
<end>
+++++++++++++++++++++++++++++++++++
or there could be other pretty ways to do it!1



35
Djiman
Re: Photo in Profile
  • 2006/8/30 14:01

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


and a smile on the face!



36
Djiman
Re: Referral program
  • 2006/8/29 8:32

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


try this also! -it is not xoops-modules!

http://www.qualityunit.com/postaffiliatepro/index.html

http://www.qualityunit.com/postaffiliate/



37
Djiman
Re: Hiding the user menu from demo user
  • 2006/8/27 10:45

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


Thanks Bender,
I will check into that lazy- option and will feed back.

But, if by chance you ever come across anything as below
=========
if xoops_isuser !== 'username'
echo 'this'; else;
echo 'that'
endif;

========
would have been the best option to just paste it in the template.



38
Djiman
Hiding the user menu from demo user
  • 2006/8/27 9:07

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


HOW DO I HIDE THE USERMENU FROM A PRESET DEMO USER?

some advise needed ....

I know I read something similar in concept some times back in the forum, but can't find it
So any of you with some ideas.


The idea;

Demo user.
the issue is, you want to set a DEMO user, giving the username and password to several peoples to login and test your site or post some content.

So you set a demo
- password and username .((and hoping that no demo user edit that particular account or even delete it ))
- paste it somewhere on your site, email it to several peoples, -for testing!

That is fine and at this point.
The 'DEMO' user is also a regular member, - some will try to edit,play with that demo account ! - change password !or delete it ! that is for sure.

The idea is after setting the demo user/pw, how do I hide the USERMENU from that particular demo username only?

Have anyone tried that before and how did you achieve it?

many thanks for any idea, i know it is very simple for you..





[size=x-small][edit by Bender] Please don´t shout at us. Subject edited to lowercase. Thanks.[/size]



39
Djiman
Re: Google Maps 0.5
  • 2006/8/22 19:53

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


Marco; thanks for the great work.
Note: I only notice that minor error when the field was blank , so I always had a zoom level, bypassing the problem .
I have installed and tested the last one it works well and have not notice any errors.

- If by chance you would know some tricks on how to make custom link directly to a POINT that would have been nice.
I tried it, with the longitudes and altitude in the url, but it only takes me to the default category .

je vous suivrai de près !
many thanks



40
Djiman
Re: Problems with phpadsnew 2.0.8
  • 2006/8/21 12:25

  • Djiman

  • Just popping in

  • Posts: 91

  • Since: 2006/7/26


Techno;
if !! the code is not working in the custom block.

try the second option.
Take the code (that you have generated) paste it in a new file, -save it somewhere, - preferable in the template_C, - give it a name , ei: my_right bock_phpadsnew.php

then in your custom block, you make an include_once(http://full_path_to_your file.php);
remember the absolute URL! (PHP! you save the custom block!)

REY! dont give up man! just install that thing on your local and play with it.




TopTop
« 1 2 3 (4) 5 6 7 8 »



Login

Who's Online

229 user(s) are online (143 user(s) are browsing Support Forums)


Members: 0


Guests: 229


more...

Donat-O-Meter

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

Latest GitHub Commits