Forum

Please consider registering
guest

Log In Register

Register | Lost password?
Advanced Search:

— Forum Scope —



— Match —



— Forum Options —




Wildcard usage:
*  matches any number of characters    %  matches exactly one character

Minimum search word length is 3 characters - maximum search word length is 84 characters

Topic RSS
Function Namespacing
15 June, 2011
1:37 pm
brichards
Grand Rapids, MI
New Member
Forum Posts: 1
Member Since:
15 June, 2011
Offline

Hello! I'm the creator of the StartBox theme framework and I've just had a user drop in my forum to say they couldn't activate your plugin. I quickly realized that the error is due to our similar function namespacing (sb_function_name).

Fortunately, it looks like the only place we collide is with sb_get_option() and sb_update_option(), unfortunately those are pretty integral functions for both of us.

I would have just renamed my own functions, but due to their nature there could be any number of users putting them to work in their own themes (one of StartBox's major selling points is its flexible options page). So, I've come humbly before you to see if we can work out some kind of a compromise. Are you guys in a position where you could do a mass find+replace for the function names throughout, or might you have an event better solution?

Thanks for the help!

Grace and Peace,
Brian Richards

17 June, 2011
11:00 am
Mark Barnes
Admin
Forum Posts: 425
Member Since:
14 December, 2005
Offline

Hi Brian,

There's no real reason why I can't rename those functions, and having watched your impressive video, I can see why it would be difficult for you. I'll see what I can do in the next release.

Mark

Forum Timezone: Europe/London

Most Users Ever Online: 40

Currently Online:
10 Guest(s)

Currently Browsing this Page:
1 Guest(s)

Top Posters:

malpan: 2453

jogen: 2440

VanWatterson: 652

GeraldSebring: 364

LucasWoltman: 362

RandellFeenstra: 362

Member Stats:

Guest Posters: 7

Members: 2062

Moderators: 1

Admins: 1

Forum Stats:

Groups: 1

Forums: 2

Topics: 1071

Posts: 4042

Newest Members: richdorm, Aaron Velasquez, aaronv, dave5884, tomduckering, ccwebb

Moderators: Ben Miller (386)

Administrators: Mark Barnes (425)

Comments are closed.