11
trspice
Need a hack for NewBB to add rel="nofollow" to all posted links
  • 2008/8/28 8:22

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Does anyone have a hack for NewBB/CBB to make it automatically add rel="nofollow" to links inserted in posts or signatures just about any link a user can place? This is to stop Bots from following these links. It is now used in most forum scripts and wordpress but I cannot figure how to get it done. Please help. Thanks
There's nothing but science....
The Reggae Album



12
trspice
Re: Login page
  • 2008/8/28 8:13

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


There is no module or method to post content on the login page but you can do some code mods to make it work.

1. Search and download the BOOX module and install

2. Open the module in administration and create a file and save it.

3. Copy the code it creates and paste where you want the content to appear in /modules/system/templates/system_userform.html

Here is how the code will appear

<{
php}>include_once '/home/username/public_html/uploads/loginpgcontent';<{/php}>


<
fieldset style="padding: 10px;">
  <
legend style="font-weight: bold;"><{$lang_login}>legend>
  <
form action="user.php" method="post">
    <{
$lang_username}> <input type="text" name="uname" size="26" maxlength="25" value="<{$usercookie}>" /><br />
    <{
$lang_password}> <input type="password" name="pass" size="21" maxlength="32" /><br />
    <
input type="hidden" name="op" value="login" />
    <
input type="hidden" name="xoops_redirect" value="<{$redirect_page}>" />
    <
input type="submit" value="<{$lang_login}>" />
  form>
  <
a name="lost">a>
  <
div><{$lang_notregister}><br />div>
fieldset>

<
br />

<
fieldset style="padding: 10px;">
  <
legend style="font-weight: bold;"><{$lang_lostpassword}>legend>
  <
div><br /><{$lang_noproblem}>div>
  <
form action="lostpass.php" method="post">
    <{
$lang_youremail}> <input type="text" name="email" size="26" maxlength="60" />&nbsp;&nbsp;<input type="hidden" name="op" value="mailpasswd" /><input type="hidden" name="t" value="<{$mailpasswd_token}>" /><input type="submit" value="<{$lang_sendpassword}>" />
  form>
fieldset>
There's nothing but science....
The Reggae Album



13
trspice
Re: Trying to make CSS highlight link of current page - need help
  • 2008/8/1 1:31

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks kris_fr, I haven't applied it yet but it does appear to be logical.
There's nothing but science....
The Reggae Album



14
trspice
Trying to make CSS highlight link of current page - need help
  • 2008/7/31 4:54

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I want to highlight the link of each current page being viewed and I have tried all kinds of methods with CSS but to no avail. I have seen it work using javascript/css combination. Is it not possible with CSS only?
There's nothing but science....
The Reggae Album



15
trspice
Re: Fix header img width and centre
  • 2008/7/31 4:44

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


background-image: url('images/tile.gif') center fixed;

If it needs to repeat in a specific direction then remove fixed and add
repeat-x
for horizontal only
repeat-y for vertical only
There's nothing but science....
The Reggae Album



16
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/29 21:20

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


kerkyra
I don't know what code is parsing the text so I don't have it to publish.
There's nothing but science....
The Reggae Album



17
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/29 21:15

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks for the assistance. I applied the change to upload.php and admin/upload.php however the HTML tags still display when 'More Information' for each media file is opened.

SampleQuote:

Additional info:
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In erat nibh, ultricies et, imperdiet in, euismod nec, nisl. Morbi vitae enim. Integer elit quam, faucibus vitae, accumsan a, placerat sed, urna.

Phasellus a nibh. Cras leo nisl, elementum aliquet, porta et, tincidunt eget, magna. Aliquam erat volutpat. Nullam ultrices. Nulla sodales varius sapien. Proin malesuada porta felis. In id lectus eget sem condimentum dignissim.

Aenean rhoncus fringilla lectus.
There's nothing but science....
The Reggae Album



18
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/28 0:07

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


I guess I'm beating on a dead horse here since no one knows how to do this modification. Can anyone suggest where I can go to get help with this? I tried to contact the module author but no response has come forth.
There's nothing but science....
The Reggae Album



19
trspice
Re: I need a hack to display HTML in debaser module
  • 2008/5/27 16:42

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Does anyone use the Debaser 0.92 module? Can anyone help me with a hack to make the description text area of the module accept and properly execute HTML code?
There's nothing but science....
The Reggae Album



20
trspice
Re: I need help with this simple module
  • 2008/5/21 15:15

  • trspice

  • Not too shy to talk

  • Posts: 193

  • Since: 2007/3/24


Thanks mowaffak, that worked.
There's nothing but science....
The Reggae Album




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



Login

Who's Online

333 user(s) are online (199 user(s) are browsing Support Forums)


Members: 0


Guests: 333


more...

Donat-O-Meter

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

Latest GitHub Commits