Previous Thread
Next Thread
Print Thread
Rate Thread
Page 2 of 2 1 2
Joined: Aug 2002
Posts: 100
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 100
Ive checked both the celica and the drum sites, and didnt see this mod in action. Did you guys get it going live on your sites yet?

I want! I want!!

Sponsored Links
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
ITS BEEN UP AND RUNNING ON MY CELICA SITE SINCE THE DATE OF THIS WRITING. Ive even enhanced it a bit to not show attachments in all other forums for unregistered users...


partial post for unregistered....
http://www.celicahobby.com/ubbthreads/thread.f_57266_0_collapsed_5__1.html#57266


no attached files for unregistered...
http://www.celicahobby.com/ubbthreads/thread.f_1862391965_13_collapsed_5__1.html#1862391965


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
all the information need to implement this mod into your system is already posted in this thread....

I'm still trying to recover from a "look at me, I'm tony hawk" skateboard accident - so i wont be writing a detailed guide with this information anytime soon...
http://www.celicahobby.com/ubbthreads/thread.f_1870020450_0_collapsed_5__1.html#1870020450


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Aug 2002
Posts: 100
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 100
Hey, thanks for your post. Sorry to hear about your skate incident... I use to skate for years... (USE to.. )

Well, still would if I still lived in Calgary.. Millennium skatepark was so awesome...

Anyways, back on topic... Thanks again for the update. I tried to follow and read through this topic, and there is too much things back and forth here for me to weed through, so I guess I would be outta luck....

Maybe i will TRY to get it going, but it might take me a while.

And I did just now, notice you have this mod installed into your articles... doh! i was looking in your regular forums posts.


Deej

Joined: Aug 2002
Posts: 100
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 100
Well, i couldn't just wait... hahah So i hacked it myself...

Near the end of showflat.php where you did your mods, here is what I placed... This is how it looks in mine now:

// --------------------------
// Are we ignoring this user?
if (stristr($user['U_Ignored'],"-$usernum-")) {
$postrow[$i]['Body'] = $ubbt_lang['IGNORING'];
} else {

//-------------------------------------------
// SHow only to reg users, mods, admins, and supporters

if ( ($user['U_Groups'] == "-5-") || ($user['U_Groups'] == "-6-") || ($user['U_Groups'] == "-7-") || ($user['U_Groups'] == "
-8-") || ($user['U_Status'] == "Administrator") || ($user['U_Status'] == "Moderator") || ($user['U_Status'] == "User") ) {

// Show Entire Message
$postrow[$i]['Body'] = ($Body);
}

// Show Only X Amount of Characters
else {
$postrow[$i]['Body'] = substr($Body,0,250) . "<br><Br><br><b>.... MORE</b><br><Br> To view the rest of this
post, please <a href="http://www.atvcanada.ca/newuser.php">click here to register for a FREE account.</a><br><Br>If you already h
ave an account with us, <a href="http://www.atvcanada.ca/login.php">Login</a> now.";
}

}



// -------------------------------------------------
// Only certain options for users that are logged in



Since I am not using articles, I just used it stock... The groups shown are my supporting groups, and I had to change "Users" to "User" for it to work on my board's reg'd users.

Now all un-reged users will see the register message when they read ANY posts on my site... Mission accomplished... (Well, almost... Just have to mod showthreaded...)

Deej

Sponsored Links
Joined: Aug 2002
Posts: 100
Journeyman
Journeyman
Offline
Joined: Aug 2002
Posts: 100
[]id242 said:
[]DLWebmaestro said:
I can't find postrow[$i]['Body'] = $Body; in showthreaded.... or anything else that signifies this. [/]

just find...
Code
// --------------------------------------<br />// Are there any replies to this message?


and place the above code, above it <img src="/forum/images/graemlins/smile.gif" alt="" />

....

the string you are looking for, exists in printthreaded.php though.... so install to that should be simple enough [/]

I had the same problem, so i tried hacking in the code I mentioned in my last post... The stuff I put in showflat.php... And it didnt work right in printthread.php or anywhere in showthreaded.php that I tried?


Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
i just removed the ability for unreg'd users to print or email posts.... another tiny hack i dreamt up to solve that problem.

check my artciles, no print/email buttons log into an account and you will see them

threaded option is also OUT THE QUESTION for unreg'd...


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
Anyone update this w/ instructions for 6.5?

Joined: Jul 2001
Posts: 1,157
Likes: 82
coffee and code
coffee and code
Joined: Jul 2001
Posts: 1,157
Likes: 82
I'm actually working on a different approach for this - unreg'd uses will see full texts, but no inline images or links/linked images

I'd like to make my site slightly more search-engine friendly


Current developer of UBB.threads PHP Forum Software
Current Release: UBBT 7.7.5 // Preview: UBBT 8.0.0
isaac @ id242.com // my forum @ CelicaHobby.com
Joined: Apr 2002
Posts: 474
Enthusiast
Enthusiast
Offline
Joined: Apr 2002
Posts: 474
This has been working for me.. what if I want to instead show the entire first post but any replies would be be restricted and invite registration?

Sponsored Links
Joined: Jul 2004
Posts: 43
User
User
Joined: Jul 2004
Posts: 43
Wonderful Mod... is this now official and can this be used with 6.5.1?


Helping the lost & lonely one sweet soul at a time...
Page 2 of 2 1 2

Link Copied to Clipboard
Donate Today!
Donate via PayPal

Donate to UBBDev today to help aid in Operational, Server and Script Maintenance, and Development costs.

Please also see our parent organization VNC Web Services if you're in the need of a new UBB.threads Install or Upgrade, Site/Server Migrations, or Security and Coding Services.
Recommended Hosts
We have personally worked with and recommend the following Web Hosts:
Stable Host
bluehost
InterServer
Visit us on Facebook
Member Spotlight
AllenAyres
AllenAyres
Texas
Posts: 21,079
Joined: March 2000
Forum Statistics
Forums63
Topics37,575
Posts293,927
Members13,822
Most Online5,166
Sep 15th, 2019
Today's Statistics
Currently Online
Topics Created
Posts Made
Users Online
Birthdays
Top Posters
AllenAyres 21,079
JoshPet 10,369
LK 7,394
Lord Dexter 6,708
Gizmo 5,833
Greg Hard 4,625
Top Posters(30 Days)
cgregg 1
Top Likes Received
isaac 82
Gizmo 20
Brett 7
WebGuy 2
Top Likes Received (30 Days)
None yet
The UBB.Developers Network (UBB.Dev/Threads.Dev) is ©2000-2024 VNC Web Services

 
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20240506)