1
Ace_Armstrong
Questions on how to hack a couple of things

1. I'm working on a support site and one of the things included is hosting. What I want to be able to do is on the login page include a link to the control panels. I have modified the /modules/system/templates/system_userform.html file to include the link, but my changes never, ever show up. I've tried emptying the templates_c directory, clearing the cache, everything. Still, no dice. Any advice?

2. In the NEWS module, I really want to get rid of the "| 2335 bytes more | Comments?" text that appears below the story synopses on the main news page. I can't for the life of me figure out where that is located to nuke. Can someone help me with that one, too?

Thanks!

2
tjnemez
Re: Questions on how to hack a couple of things
  • 2004/4/9 5:19

  • tjnemez

  • Home away from home

  • Posts: 1594

  • Since: 2003/9/21


hey ace,

i added a div to my login, just after the </form> tag:

<div style="border: 1px solid #000; width: 560px; padding: 10px; background-color: #cccccc;"><a href="http://yoursite.com"> Control Panels</a></div>

it worked ok

3
Mithrandir
Re: Questions on how to hack a couple of things

1. Have you updated the system module?
2. That's the "morelink", which is set in index.php

4
Ace_Armstrong
Re: Questions on how to hack a couple of things

Quote:

tjnemez wrote:
hey ace,

i added a div to my login, just after the </form> tag:

<div style="border: 1px solid #000; width: 560px; padding: 10px; background-color: #cccccc;"><a href="http://yoursite.com"> Control Panels</a></div>

it worked ok


It sounds like you're talking about the login block. We're not using the block (we're just sending them to use.php) because we want it to look primarily like a static website, but give a few people the ability to log in with a (semi) subtle link.

5
Ace_Armstrong
Re: Questions on how to hack a couple of things

Quote:

Mithrandir wrote:
1. Have you updated the system module?


Yeah. No effect.


Quote:

Mithrandir wrote:
2. That's the "morelink", which is set in index.php


Okay. I'll give that a go. Thanks!

6
Ace_Armstrong
Re: Questions on how to hack a couple of things

Quote:

Mithrandir wrote:
That's the "morelink", which is set in index.php


Sweet. Worked like a charm! Thanks!

Now, if I could only figure out how to get that control panel link to work on the user.php page...

7
Ace_Armstrong
Re: Questions on how to hack a couple of things

*bump*

8
jurgis
Re: Questions on how to hack a couple of things
  • 2004/4/11 18:33

  • jurgis

  • Just popping in

  • Posts: 72

  • Since: 2003/3/20


what do You call "login page"?

in XOOPS login form is displayed via block in 99 cases out of 100, I guess.

9
Ace_Armstrong
Re: Questions on how to hack a couple of things

Quote:

jurgis wrote:
what do You call "login page"?

in XOOPS login form is displayed via block in 99 cases out of 100, I guess.


Right, but we want to avoid that. What we're doing is sending them to user.php, which displays a login page if the user isn't already logged in.

Login

Who's Online

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


Members: 0


Guests: 227


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