|
Geek Article and Review System GARS is the mega popular system for turning forums into articles, tutorials, or even reviews. |
Advertisement | |
|
|
Learn how to remove ads |
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
adding rel="nofollow" to link directory ** UPDATED WITH NEW QUESTION **
** UPDATED HERE **
Where do I do this? I've searched the forums and tried to do it in here: Code:
$value = "<a href=\"$value\" target=\"_blank\" rel=\"nofollow\">" . fetch_trimmed_title($prepped, $cache['maxlength']) . "</a>"; geek/gars/mods/display/custom_fields.php Which didn't work, I then tried this: Code:
<if condition="$show['homepagecol'] AND exec_switch_bg()"><td class="$bgclass"><if condition="$show['homepagelink']"><a href="$userinfo[homepage]" target="_blank" rel="nofollow" /><img src="$stylevar[imgdir_button]/home.gif" alt="home.gif" title="<phrase 1="$userinfo[username]">$vbphrase[visit_xs_homepage]</phrase>" border="0" /></a><else /> </if></td></if> memberlist_resultsbit Again, no result... So, I turn to the geek and admit failure! Help ol' geek'ed'ness! Last edited by tokenyank; 01-03-2008 at 01:57 PM.. |
#2
|
||||
|
||||
It should be the first one. Do you have a link to the page?
|
#3
|
|||
|
|||
Yes indeedy!
http://www.mumsonline.net/forums/lin...198.html?f=198 Just installed it last night so categories and the such aren't done yet and the template and core file are as installed, should I add the code to it before you have a root around? |
#4
|
|||
|
|||
Thanks for the help btw... Didn't mean to be rude, just walked through the door and am all sweaty... I hate tourists and Portobello!
|
#5
|
|||
|
|||
Having just had a play, it really only seems to be the www button I need to add the nofollow to.
Any links in the post itself are parsed through my redirector which has a nofollow added there. I just can't seem, try as I might, to get that bloody nofollow to attach to the www button! |
#6
|
||||
|
||||
look in the geek/gars/mods/display/snap.php module
|
#7
|
|||
|
|||
That did it! Thank you.
That's why you're the geek! |
#8
|
|||
|
|||
EEk!
We have a problem Huston! I changed the file as per your instruction and it worked upon testing it 2 days ago... However, I just went to play with the new directory and I get this: Code:
Unable to add cookies, header already sent. File: /home/mumsonli/public_html/forums/geek/gars/mods/display/snap.php Line: 1 So, erm... Help? EDIT TO ADD: I've used the tools to rebuild cache and rebuild custom fields but no good.... It only effects the link directory of the mod: http://www.mumsonline.net/forums/lin...tory-f198.html The article fork of the mod is unaffected: http://www.mumsonline.net/forums/articles-f197.html /me is thoroughly confused!] EDIT TO ADD +2: I've uploaded core files for GARS and Link directory and it works again though I'm slightly concerned that the header/cookie issue will return by itself as it seems to have done this time. If you can hed light, I'd greatfully follow it out of this tunnel of confusion! Last edited by tokenyank; 07-06-2007 at 01:41 AM.. |
#9
|
||||
|
||||
Sounds like the problem was with the snap module. EIther you left a typo or it was a bad upload.
|
#10
|
|||
|
|||
sure, blame the end user!
I figured as such since the core file upload (which had to be done anyway since I installed pre-license change over so the source still credited other domain, so, good in the end anyway) fixed it... I'll give it another go in a bit and see if I can sort it. Thanks again! EDIT TO ADD: Made change and seems to work again... Will wait a couple days before I give it the big thumbs up since it took 2 days for the error to happen (read, for me to see it). However, I want to add as well incase it is every asked, the search feature should bring this thread up and future users won't have to bug you... Yes this hack works with a redirector hack... However since the links aren't parsed through the bbcode you have to hard code it into the file itself. Adding the redirector code in /geek/gars/mods/display/snap.php before $post[gars_snap_www] forces the user added link to redirect as if it was a link posted on the forums itself. example: instead of: Code:
$bits = "<tr><td align=\"center\"><a href=\"$post[gars_snap_www]\" target=\"_blank\"><img src=\"$stylevar[imgdir_button]/home.gif\" Code:
$bits = "<tr><td align=\"center\"><a href=\"http://www.yourdomain.com/forums/redirector.php?url=$post[gars_snap_www]\" target=\"_blank\" rel=\"nofollow\"> Last edited by tokenyank; 07-06-2007 at 09:30 AM.. |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to set reg="nofollow" for a category | JustaQuestion | Geek Auto-Linker | 2 | 10-05-2009 09:32 PM |
fehler "kein benuzername.." error "username" | hohleweg | Geek Article and Review System | 7 | 03-22-2007 10:28 PM |
"GARS Rating" Just Like "Hot-or-Not" Voting | Pehchaan | Geek Article and Review System | 4 | 12-10-2006 06:51 PM |
I want to link "baseball" and "baseball bat". How? | bob | Geek Auto-Linker | 18 | 10-02-2006 11:04 AM |
With an existing page, adding "Add to cart" button | Stachel | GeekMart | 1 | 12-03-2005 07:21 PM |