Previous Thread
Next Thread
Print Thread
Hop To
#264908 06/21/2021 7:52 AM
Joined: Nov 2006
Posts: 195
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 195
Likes: 1
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,624
Likes: 84
Joined: Dec 2003
Posts: 6,624
Likes: 84
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,355
Likes: 125
UBB.threads Developer
UBB.threads Developer
Joined: Jun 2006
Posts: 16,355
Likes: 125
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: 195
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 195
Likes: 1
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: 195
Likes: 1
T
Member
Member
T Offline
Joined: Nov 2006
Posts: 195
Likes: 1
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,624
Likes: 84
Joined: Dec 2003
Posts: 6,624
Likes: 84
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
Another error
by Baldeagle - 10/07/2024 9:08 PM
Is this a cookie issue?
by Baldeagle - 10/05/2024 2:01 PM
Search button not there
by ehill - 10/02/2024 2:56 PM
Change the Order of the buttons in a post
by Unixspot - 09/19/2024 10:04 PM
How do I get rid of this?
by Baldeagle - 09/12/2024 6:30 PM
Who's Online Now
0 members (), 778 guests, and 81 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.1
(Snapshot build 20240918)