IPB

Your Ad Here
Navigation
Welcome Guest!
( Log In | Register )
Board Links
Component Links
Sidebar Mod by: -Calypso-

Collapse

Announcements

Help us Survive! CLICK HERE

$0 of $200 Donated this month
Subscribe to Hshare!
Get an email as soon as we make a release!
Email:

Collapse

Log In

User:
Password:


Collapse

Ads1



Japanese Anime CDJapan

Animenation

Collapse

Poll

Only members?
Should only members be able to watch the Featurettes?
Yes [ 187 ]
**  [69.78%]
No [ 81 ]
**  [30.22%]
Total Votes: 268
Guests cannot vote 

Collapse

Anyone with php skills?

Posted By:  DeathMarine @ 3 days ago
i want to upgrade to the new version of the board but need some tweaking of it before switch over. Seems i can't get anyone to help me so i'm reaching out to my hshare visitors for help. I'm sure you guys have the skill for it.

This is what i'm trying to do.
the default FURL (friendly URL) that comes with 3.0 gives me this:
for Forum Links
http://www2.hshare.net/forum/forumID-forumTitle/
for Topic Links (threads)
http://www2.hshare.net/topics/topicID-topicTitle/

The only think i was able to do is tweak it enough to get this:
http://www2.hshare.net/f/forumID-forumTitle/
and
http://www2.hshare.net/topicID-forumTitle/

which is not really what i want but the best i could do with my level of skill. Ideally i what this:
http://hshare.net/forumTitle-forumID/ (might need to be fforumID so forum and topics don't get confuse the board if they have the same name and number)
http://hshare.net/topicTitle-topicID/ (might need to be ttopicID so forum and topics don't get confuse the board if they have the same name and number)

here is the original code:
CODE

'showforum' => array( 'app' => 'forums',
'allowRedirect' => 1,
'out' => array( '#showforum=(.+?)(&|$)#i', 'forum/$1-#{__title__}/$2' ),
'in' => array( 'regex' => "#/forum/(\d+?)-#i",
'matches' => array( array( 'showforum', '$1' ) ) ) ),

'showtopic' => array( 'app' => 'forums',
'allowRedirect' => 1,
'out' => array( '#showtopic=(.+?)(&|$)#i', 'topic/$1-#{__title__}/$2' ),
'in' => array( 'regex' => "#/topic/(\d+?)-#i",
'matches' => array( array( 'showtopic', '$1' ) ) ) ),


There is the simple thing i can do to it to get what i mentioned above:
CODE

'showforum' => array( 'app' => 'forums',
'allowRedirect' => 1,
'out' => array( '#showforum=(.+?)(&|$)#i', '$1-#{__title__}/$2' ),
'in' => array( 'regex' => "#/f/(\d+?)-#i",
'matches' => array( array( 'showforum', '$1' ) ) ) ),

'showtopic' => array( 'app' => 'forums',
'allowRedirect' => 1,
'out' => array( '#showtopic=(.+?)(&|$)#i', '$1-#{__title__}/$2' ),
'in' => array( 'regex' => "#(\d+?)-#i",
'matches' => array( array( 'showtopic', '$1' ) ) ) ),


thanks for any help you can provide in advance!
Comments: 5 :: View Comments

Collapse

Board Statistics

460 user(s) active in the past 60 minutes
Active Users 431 guests, 29 members, 0 anonymous members
Onreib, wolvernes1967, the_yami, Ahva, sanada, darkmousey2, rockchan, Google.com, Axiom, NightUndead, ravemaster913, tqminh111, BONFIRE, sniperwolf, darkappa, DizzyAngelDemon, six, dman, shadow23, kujazmaster, Sirius334, searcher, angelwolf71885, DragonHiei, Shiv, Perseusex, narutoo, lyhonlam, Hime-sama, DeathMarine
Show detailed by: Last Click, Member Name
Board Statistics
Board Stats Our members have made a total of 40,012 posts
We have 31,593 registered members
The newest member is Hime-sama
Most users ever online was 1,114 on Jun 10 2007, 06:26 AM


Collapse

Top Posters

Username Posts
DeathMarine 5241
twi41 1538
07cbdj 1414
DizzyAngelDemon 1089
HellMaster 997
Shiv 699
Machine 9000 624
frontline 564
brmc 553
White_Masq 486

Collapse

New Members

Username Joined
conaris 15 minutes ago
Hime-sama An hour ago
FakkToMeK An hour ago
kittylicker64 An hour ago
funnycat An hour ago
bcb55 2 hours ago
petertan824 2 hours ago
spazz21 2 hours ago
machaovn123 2 hours ago
ekzhshare 3 hours ago


Powered by Unreal Portal v2.2.2 © 2008 Romsource
Your Ad Here
RSS Lo-Fi Version Time is now: 3rd July 2009 - 09:35 PM
IP.Board Skin Developed By Creative Networks