81
krobi
Re:XoopsPoll module questions, answers and needed features!
  • 2004/12/6 17:10

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


is there any developing on the xoopspoll???

its an good module but really old and buggy and have less features, so there are any activitations?



82
krobi
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/6 13:19

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21





83
krobi
Re: XOOPS PM(Private Message)-Hack
  • 2004/12/6 0:11

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


i've installed your really great hack today on our "productive" site and i did some optical optimising

Resized Image



84
krobi
Re: some dev/mod question
  • 2004/12/2 12:22

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


so i tried it without that slashes

Quote:
echo '</table><table width="100%" border="0">
<tr> <td align="center"><input class="formButton" value="Mehr Infos" type="button" onclick="javascript:window.opener.location='".XOOPS_URL."/userinfo.php?uid=1';window.close();" /></td>
<td align="center"><input class="formButton" value="'._CLOSE.'" type="button" onclick="javascript:window.close();" /></td></tr></table>';


and i get this error
Quote:
Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ',' or ';' in /home/.sites/60/site362/web/testumgebung/modules/PDMembers/rank.php on line 58


rank.php is the file where i work on and this is link 58



85
krobi
Re: some dev/mod question
  • 2004/12/2 11:58

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


hey

i tried to use the xoops_url variable but when i click on the button nothing happend and i dont get any error.

Quote:
echo '</table><table width="100%" border="0">
<tr> <td align="center"><input class="formButton" value="Mehr Infos" type="button" onclick="javascript:window.opener.location=\'".XOOPS_URL."/userinfo.php?uid=1\';window.close();" /></td>
<td align="center"><input class="formButton" value="'._CLOSE.'" type="button" onclick="javascript:window.close();" /></td></tr></table>';



86
krobi
Re: some dev/mod question
  • 2004/11/30 21:51

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


i will post it tomorrow because today i'm to tired



87
krobi
Re: some dev/mod question
  • 2004/11/30 21:45

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


ok we tried it but then we had problem with " and '
so we decided to use the static url, so the function works for the beginning

we even dont know when we should use " and ' , so we got syntax error when we tried to do it the same way as in misc.php.



88
krobi
Re: some dev/mod question
  • 2004/11/30 21:39

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


thx i have included the mainfile.php, so it should work. but we dont know how to write the syntax that xoops_url will be used.



89
krobi
some dev/mod question
  • 2004/11/30 19:50

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


hey XOOPS community,

we are working on some mods, first of all a mod of wf-downloads.

but we need some help on this mod and others mods, we will give you more infos about our mods if they are working as we want it

my first question
we have a pop-up window, and in this window we have a button. so when user click on this button the window should close and in the original window (where the site is) should open a page/link.

so we got that to work Quote:
echo '</table><table width="100%" border="0">
<tr> <td align="center"><input class="formButton" value="Mehr Infos" type="button" onclick="java script:window.opener.location=\'http://www.power-dreams.com/testumgebung/userinfo.php?uid=1\';window.close();" /></td>
<td align="center"><input class="formButton" value="'._CLOSE.'" type="button" onclick="java script:window.close();" /></td></tr></table>';

so maybe you see the problem what we have, we are using the static url for that, because we dont got it to work with xoops_url.

we looked in the misc.php and we found that Quote:
echo '<td>'.$avatar."</td><td><a href=\"java script:window.opener.location='".XOOPS_URL."/userinfo.php?uid=".$onlineUsers[$i]['user']->getVar('uid')."';window.close();\">".$onlineUsers[$i]['user']->getVar('uname')."</a>";


so here is the .XOOPS_URL. variable but we dont got it work in our code, maybe someone could help us with this problem.

my second question
this question is about another problem in another modul, we have a admin menu and in this admin menu we want that it will display a specific modul with its modul name. how can i do that? (in a php file)

hopefully someone can help us



90
krobi
Re: XOOPS PM(Private Message)-Hack
  • 2004/11/30 17:30

  • krobi

  • Quite a regular

  • Posts: 290

  • Since: 2003/12/21


@wanikoo: you did really amazon great work, i have installed your hack on a test-xoops-site and it works perfectly.




TopTop
« 1 ... 6 7 8 (9) 10 11 12 ... 16 »



Login

Who's Online

169 user(s) are online (107 user(s) are browsing Support Forums)


Members: 0


Guests: 169


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