81
zer0fill
Using smarty in module's admin menu?
  • 2003/12/23 2:53

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


is it possible to use smarty in a module's admin menu? I understand that the stock modules are hard-coded html in the php files, but for new devs, can we incorproate smarty or must we hard-code as well?



82
zer0fill
Xoops Error Handler Module (download link?)
  • 2003/12/22 18:26

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


Would anyone still have the Xoops Error Handler Module file they could send?

please email me <removed email due to harvesting> or reply if you have a link for download (download link is broken in the module area)

tia



83
zer0fill
Re: Only admin or other group must post
  • 2003/12/22 5:11

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


i'd like to restrict news posts to only specific groups too. normal registered users should not be allowed to post news (and i dont want to have to look though a bunch of articles that need approving from users unless they're in the right group).



84
zer0fill
Re: XoopsGallery comments error
  • 2003/12/21 21:18

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


hey again DonXoop :p

go to admin > system > pref > general, go to the debug area and select PHP Debug. the blank screen should show you the error(s)



85
zer0fill
Re: re-arrange admin menus?
  • 2003/12/21 21:07

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


no problem. i submitted this problem to the Bugs Forum. now only if CPanel and everyone else would take some advice from users, but, as always, think they're better than us

GO XOOPS!



86
zer0fill
Admin > System > Comments > Edit, member function on a non-object (with fix)
  • 2003/12/21 21:04

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


Original thread
With the help of DonXoop we found this:


<snips from post above>
I get
Fatal errorCall to a member function on a non-object in d:domains<domain>.compublic_htmlxoopsincludecomment_post.php on line 41
when trying to go to admin > system > comments > edit existing > submit. however it doesn't give an error when replying or editing comments from the news area.

it might be because of
// file: d:domains<domain>.compublic_htmlxoopsincludecomment_post.php 
$comment =& $comment_handler->get($com_id); // line ~39
i don't see $com_id getting initialized.

i added
// file: d:domains<domain>.compublic_htmlxoopsincludecomment_post.php 

$com_id $_POST['com_id']; // line ~37
and it started working fine.

Note: Systems with register_globals ON will not have this problem.



87
zer0fill
Re: re-arrange admin menus?
  • 2003/12/21 20:43

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


i'm hoping it was just something they forgot to change when switching to register_globals off.



88
zer0fill
Re: re-arrange admin menus?
  • 2003/12/21 20:25

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


it might be because of
// file: d:domains<domain>.compublic_htmlxoopsincludecomment_post.php 
$comment =& $comment_handler->get($com_id); // line ~39
i don't see $com_id getting initialized.

[edit]
OH NO!!! XOOPS is using
register_globals on
?

i added
// file: d:domains<domain>.compublic_htmlxoopsincludecomment_post.php 

$com_id $_POST['com_id']; // line ~37
and it started working fine.



89
zer0fill
Re: re-arrange admin menus?
  • 2003/12/21 20:20

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


i uninstalled/reinstalled and it's at the bottom of the list. but i still get
Fatal errorCall to a member function on a non-object in d:domains<domain>.compublic_htmlxoopsincludecomment_post.php on line 41
when editing via admin menu.

i think the reason it looked like the newest post was the only post was because it was in "threaded" mode



90
zer0fill
Re: re-arrange admin menus?
  • 2003/12/21 20:10

  • zer0fill

  • Not too shy to talk

  • Posts: 137

  • Since: 2003/12/2


DonXoop:
I get
Fatal errorCall to a member function on a non-object in d:domains<domain>.compublic_htmlxoopsincludecomment_post.php on line 41
when trying to go to admin > system > comments > edit existing > submit. however it doesn't give an error when replying or editing comments from the news area. to make matters worse, it only displays the latest comment; anyone that wrote a comment before is as if they were never there. though the admin comment area shows the previous posts.

I'll try uninstalling, reinstalling the module after backing up the data.

CBlue:
I went though all my groups (admin > system > groups > modify > {group name} > update group, but it didn't seem to push the system module to the top.

fwiw: apache 1.3x, php 4.3.2, MySQL 3.23.49 (windows xp pro, all critical patches; private local testing machine)




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



Login

Who's Online

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


Members: 0


Guests: 229


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