Previous Thread
Next Thread
Print Thread
Hop To
#264908 06/21/2021 7:52 AM
Joined: Nov 2006
Posts: 177
T
Member
OP Offline
Member
T
Joined: Nov 2006
Posts: 177
Hi guys. In which file can I edit the register link which is on /ubbthreads.php/ubb/login.html

I want to replace the destination link with another .com URL where people need to pay for access. It was done once before but it needs editing.

Thank you so much smile

Joined: Dec 2003
Posts: 6,387
Likes: 53
Offline
Joined: Dec 2003
Posts: 6,387
Likes: 53
Why not just use the built in subscription feature.
In group permissions just set the default users group to only allow access to a forum that talks about paying and leading to that url.
You can even set all the forums as teaser forums , where they can see they exist but do not have access to the topics unless they subscribe .

Then you create a new group that is what they subscribe to has the permissions you want.
So when paid they will automatically be granted full access with no human intervention.
In fact you could even tier several subscriptions so each group has more permissions than the prior.(bronze,silver,gold)

Not sure what ubb version you are on.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers
Joined: Jun 2006
Posts: 16,102
Likes: 76
UBB.threads Developer
Offline
UBB.threads Developer
Joined: Jun 2006
Posts: 16,102
Likes: 76
All of the URLs within UBB.threads are hardcoded, meaning it'd take modifying files to change were these locations are pointing to which will disable their internal functions within UBB.threads.

-- WARNING -- UBBCentral and UBBSystems do not provide support for modified forums, we cannot guarantee that your modifications were performed in a manner which wouldn't interfere with the base product as designed; as such, by modifying your support you're foregoing your ability to get official support.

That being said I'm assuming you're wanting to replace the location the "register" link (from the header) goes to, which would be taken care of by this kludge in /templates/default/header.tpl:
Code
{if $new_user_link}
<a href="{ubb url="ubb=newuser"}" class="nw" rel="nofollow"><i class="far fa-check-square fa-fw" aria-hidden="true"></i> {$lang.NEW_USER}</a>
{/if}

If you're actually wanting to modify the registration page you'll be looking at modifying the page: /templates/default/newuser_signup.tpl and its associated language file /languages/english/newuser.php


I am a Web Development Contractor, I do not work for UBBCentral. I have provided free User to User Support since the beginning of these support forums.
Do you need Forum Install or Upgrade Services?
Forums: A Gardeners Forum, Scouters World
UBB.threads: UBBWiki, UBB Styles, UBB.Sitemaps
Longtime Supporter & Resident Post-A-Holic
VNC Web Services: Code Modifications, Upgrades, Styling, Coding Services, Disaster Recovery, and more!
Joined: Nov 2006
Posts: 177
T
Member
OP Offline
Member
T
Joined: Nov 2006
Posts: 177
Originally Posted by Ruben
Why not just use the built in subscription feature..

Yes this is something I'd like to do but I don't want to interfere with payments (subscriptions) that are already running. I just assumed that I'd have to get everyone to start a new subscription and cancel their old PayPal subs?

Joined: Nov 2006
Posts: 177
T
Member
OP Offline
Member
T
Joined: Nov 2006
Posts: 177
Originally Posted by Gizmo
If you're actually wanting to modify the registration page you'll be looking at modifying the page: /templates/default/newuser_signup.tpl and its associated language file /languages/english/newuser.php

Thanks. Fixed smile

Joined: Dec 2003
Posts: 6,387
Likes: 53
Offline
Joined: Dec 2003
Posts: 6,387
Likes: 53
Originally Posted by ThreadsUser
Originally Posted by Ruben
Why not just use the built in subscription feature..

Yes this is something I'd like to do but I don't want to interfere with payments (subscriptions) that are already running. I just assumed that I'd have to get everyone to start a new subscription and cancel their old PayPal subs?

Not knowing how you setup your existing subscriptions.
There should not be a impact with paypal.
It would be a different transaction ID.
So as existing people start to roll off advise them to use the new built in subscription to renew.

With that said I think you still need to create a net new custom group duplicating permissions from the one you use now.
So UBB can monitor and add/delete members on it's own.


Blue Man Group
There is no such thing as stupid questions. Just stupid answers

Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Better moderator notification answer
by Morgan - 07/24/2021 7:29 AM
well this sucks..
by Bad Frog - 07/21/2021 6:15 PM
What does it mean?
by Morgan - 07/14/2021 3:21 AM
Who's Online Now
0 members (), 53 guests, and 91 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
gallery test
gallery test
by Mors, September 23
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Powered by UBB.threads™ PHP Forum Software 7.7.5